JoaoJandre commented on code in PR #12758:
URL: https://github.com/apache/cloudstack/pull/12758#discussion_r3132310016
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -1698,9 +1698,10 @@ public void orchestrateStart(final String vmUuid, final
Map<VirtualMachineProfil
}
}
} finally {
+ long hostId = vm.getHostId();
if (startedVm == null) {
if (VirtualMachine.Type.User.equals(vm.type) &&
ResourceCountRunningVMsonly.value()) {
-
_resourceLimitMgr.decrementVmResourceCount(owner.getAccountId(),
vm.isDisplay(), offering, template);
+
_resourceLimitMgr.decrementVmResourceCount(owner.getAccountId(),
vm.isDisplay(), offering, template, null);
Review Comment:
I only added a parameter here. I will not change it.
--
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]