Pearl1594 commented on a change in pull request #5428:
URL: https://github.com/apache/cloudstack/pull/5428#discussion_r707179250



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -5056,6 +5091,7 @@ public void finalizeStop(VirtualMachineProfile profile, 
Answer answer) {
             }
         }
 
+        updateResourceCount(owner.getAccountId(), owner.getDomainId());

Review comment:
       @weizhouapache  Do you mean we should move this to updateVM workflow and 
use `resourceCountIncrement` / `resourceCountIncrement` as opposed to ` 
updateResourceCount`?




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