weizhouapache commented on code in PR #7915:
URL: https://github.com/apache/cloudstack/pull/7915#discussion_r1307717859


##########
server/src/main/java/com/cloud/user/AccountManagerImpl.java:
##########
@@ -1847,6 +1832,29 @@ public boolean deleteUserAccount(long accountId) {
         return deleteAccount(account, callerUserId, caller);
     }
 
+    private boolean isDeleteNeeded(AccountVO account, Account caller) {
+        if (account == null) {
+            s_logger.info("The account:" + account.getAccountName() + " 
doesn't exist");

Review Comment:
   @DaanHoogland 
   NPE here



-- 
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]

Reply via email to