mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 00:02:37 +01:00
bug 13478: check null
status 13478: resolved fixed reviewed-by: edison
This commit is contained in:
parent
02075c3a2d
commit
22bbd8e766
@ -184,7 +184,7 @@ public class UserVmDomRInvestigator extends AbstractInvestigatorImpl {
|
||||
for (Long hostId : otherHosts) {
|
||||
try {
|
||||
Answer pingTestAnswer = _agentMgr.easySend(hostId, new PingTestCommand(routerPrivateIp, privateIp));
|
||||
if (pingTestAnswer.getResult()) {
|
||||
if (pingTestAnswer!=null && pingTestAnswer.getResult()) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("user vm " + vm.getHostName() + " has been successfully pinged, returning that it is alive");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user