Skip to content

Commit 11a25af

Browse files
author
Daan Hoogland
committed
merge bug fixed
1 parent 773dea9 commit 11a25af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5604,7 +5604,7 @@ public void finalizeExpunge(VirtualMachine vm) {
56045604
}
56055605

56065606
private void checkForceStopVmPermission(Account callingAccount) {
5607-
callingAccountId = callingAccount == null ? null : callingAccount.getId();
5607+
Long callingAccountId = callingAccount == null ? null : callingAccount.getId();
56085608
if (!AllowUserForceStopVm.valueIn(callingAccountId)) {
56095609
logger.error("Parameter [{}] can only be passed by Admin accounts or when the allow.user.force.stop.vm config is true for the account.", ApiConstants.FORCED);
56105610
throw new PermissionDeniedException("Account does not have the permission to force stop the vm.");

0 commit comments

Comments
 (0)