pierrelefevre commented on code in PR #7386:
URL: https://github.com/apache/cloudstack/pull/7386#discussion_r1193555844
##########
server/src/main/java/com/cloud/api/ApiResponseHelper.java:
##########
@@ -2515,6 +2515,10 @@ public NetworkResponse
createNetworkResponse(ResponseView view, Network network)
Domain domain =
ApiDBUtils.findDomainById(domainNetworkDetails.first());
if (domain != null) {
response.setDomainId(domain.getUuid());
+
+ StringBuilder domainPath = new StringBuilder("ROOT");
+
(domainPath.append(domain.getPath())).deleteCharAt(domainPath.length() - 1);
+ response.setDomainPath(domainPath.toString());
Review Comment:
@weizhouapache not sure about where this method can be found,
domain.getPath() returns a String including the "full" path without ROOT
prepended.
--
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]