harikrishna-patnala commented on code in PR #11589:
URL: https://github.com/apache/cloudstack/pull/11589#discussion_r2335450312
##########
server/src/main/java/com/cloud/api/ApiResponseHelper.java:
##########
@@ -3049,7 +3053,7 @@ private void populateOwner(ControlledEntityResponse
response, ControlledEntity o
Domain domain = ApiDBUtils.findDomainById(object.getDomainId());
response.setDomainId(domain.getUuid());
response.setDomainName(domain.getName());
- response.setDomainPath(domain.getPath());
+ response.setDomainPath(getPrettyDomainPath(domain.getPath()));
Review Comment:
shall we keep the same in the next methods or are these covered some how
populateOwner(ControlledViewEntityResponse response, ControlledEntity object)
populateDomain(ControlledEntityResponse response, long domainId)
createUsageResponse(Usage usageRecord, Map<String, Set<ResourceTagResponse>>
resourceTagResponseMap, boolean oldFormat)
createAffinityGroupResponse(AffinityGroup group)
populateDomainFieldsOnConsoleSessionResponse()
createVMSnapshotResponse()
?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]