Skip to content

Commit e37843f

Browse files
committed
resolve comments
1 parent 1265b62 commit e37843f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/user/AccountManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,9 +2097,9 @@ public boolean deleteUserAccount(long accountId) {
20972097
return true;
20982098
}
20992099

2100-
validateNoDeleteProtectedVmsForAccount(account);
21012100
checkIfAccountManagesProjects(accountId);
21022101
verifyCallerPrivilegeForUserOrAccountOperations(account);
2102+
validateNoDeleteProtectedVmsForAccount(account);
21032103

21042104
CallContext.current().putContextParameter(Account.class, account.getUuid());
21052105

0 commit comments

Comments
 (0)