mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7164: fix NPE
This commit is contained in:
parent
165618ac9a
commit
2f832fddff
|
|
@ -1406,7 +1406,9 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
|
|||
AccountVO account = _accountDao.findById(accountId);
|
||||
|
||||
if (account == null || account.getRemoved() != null) {
|
||||
s_logger.info("The account:" + account.getAccountName() + " is already removed");
|
||||
if (account != null) {
|
||||
s_logger.info("The account:" + account.getAccountName() + " is already removed");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue