winterhazel commented on code in PR #13288:
URL: https://github.com/apache/cloudstack/pull/13288#discussion_r3334031125


##########
server/src/main/java/com/cloud/api/query/dao/DomainJoinDaoImpl.java:
##########
@@ -151,6 +151,14 @@ public void setResourceLimits(DomainJoinVO domain, boolean 
fullView, ResourceLim
         response.setSnapshotTotal(snapshotTotal);
         response.setSnapshotAvailable(snapshotAvail);
 
+        Long vmSnapshotLimit = 
ApiDBUtils.findCorrectResourceLimitForDomain(domain.getVmSnapshotLimit(), 
ResourceType.vm_snapshot, domain.getId());

Review Comment:
   Both methods seem to do the same thing. I don't think that the change 
suggested by Copilot here is required



-- 
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]

Reply via email to