cloudian: fix NPE

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2017-09-12 17:40:56 +05:30
parent e1983c9650
commit 170ad669e6
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}