merge bug fixed

This commit is contained in:
Daan Hoogland 2026-03-30 12:08:56 +02:00
parent 773dea9bae
commit 11a25afa0d
1 changed files with 1 additions and 1 deletions

View File

@ -5604,7 +5604,7 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
}
private void checkForceStopVmPermission(Account callingAccount) {
callingAccountId = callingAccount == null ? null : callingAccount.getId();
Long callingAccountId = callingAccount == null ? null : callingAccount.getId();
if (!AllowUserForceStopVm.valueIn(callingAccountId)) {
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);
throw new PermissionDeniedException("Account does not have the permission to force stop the vm.");