mirror of https://github.com/apache/cloudstack.git
Skip the null Host for CheckRouterTask
This commit is contained in:
parent
0f0d705ae0
commit
d6e99567ce
|
|
@ -765,7 +765,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
String privateIP = router.getPrivateIpAddress();
|
||||
HostVO host = _hostDao.findById(router.getHostId());
|
||||
/* Only cover hosts managed by this management server */
|
||||
if (host.getManagementServerId() != ManagementServerNode.getManagementServerId()) {
|
||||
if (host == null || host.getManagementServerId() != ManagementServerNode.getManagementServerId()) {
|
||||
continue;
|
||||
}
|
||||
if (privateIP != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue