mirror of
https://github.com/apache/cloudstack
synced 2026-08-31 17:13:53 +00:00
Skip the null Host for CheckRouterTask
This commit is contained in:
parent
0fcd364412
commit
b63b3fcf05
@ -766,7 +766,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
Block a user