Skip to content

Commit e7c4135

Browse files
committed
fix(server): prevent boolean overwrite in template cleanup during account removal (#13612)
1 parent 4284ac3 commit e7c4135

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ protected boolean cleanupAccount(AccountVO account, long callerUserId, Account c
10161016
logger.debug("Successfully deleted snapshots directories for all volumes under account {} across all zones", account);
10171017
}
10181018

1019-
1019+
10201020
// clean up templates
10211021
List<VMTemplateVO> userTemplates = _templateDao.listByAccountId(accountId);
10221022
boolean allTemplatesDeleted = true;

0 commit comments

Comments
 (0)