mirror of https://github.com/apache/cloudstack.git
cloudian: fix NPE
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
e1983c9650
commit
170ad669e6
|
|
@ -72,7 +72,7 @@ public class CloudianConnectorImpl extends ComponentLifecycleBase implements Clo
|
|||
public void onPublishMessage(String senderAddress, String subject, Object args) {
|
||||
Long accountId = (Long) args;
|
||||
// TODO: remove/disable user in CMC
|
||||
final Account account = accountDao.findById(accountId);
|
||||
final Account account = accountDao.findByIdIncludingRemoved(accountId);
|
||||
LOG.info("Removing account id=" + accountId + " with uuid=" + account.getUuid());
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue