mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 13679: cosmetic fix to remove NPE warning message from log. Reviewed-By: anthony
This commit is contained in:
parent
2c14d45702
commit
a72d419f8c
@ -1633,6 +1633,11 @@ public class ConsoleProxyManagerImpl implements ConsoleProxyManager, ConsoleProx
|
||||
try {
|
||||
long proxyVmId = startupCmd.getProxyVmId();
|
||||
ConsoleProxyVO consoleProxy = _consoleProxyDao.findById(proxyVmId);
|
||||
if(consoleProxy == null) {
|
||||
s_logger.info("Proxy " + proxyVmId + " is no longer in DB, skip sending startup command");
|
||||
return;
|
||||
}
|
||||
|
||||
assert (consoleProxy != null);
|
||||
HostVO consoleProxyHost = findConsoleProxyHostByName(consoleProxy.getHostName());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user