mirror of https://github.com/apache/cloudstack.git
BigSwitch should only respond if it is the actual provider on the network.
This fixes an NPE during the release call.
This commit is contained in:
parent
59cc382f20
commit
90cd64cf53
|
|
@ -138,7 +138,7 @@ public class BigSwitchVnsElement extends AdapterBase implements
|
|||
if (network.getBroadcastDomainType() != BroadcastDomainType.Lswitch) {
|
||||
return false;
|
||||
}
|
||||
/*
|
||||
|
||||
if (!_networkModel.isProviderForNetwork(getProvider(),
|
||||
network.getId())) {
|
||||
s_logger.debug("BigSwitchVnsElement is not a provider for network "
|
||||
|
|
@ -153,7 +153,7 @@ public class BigSwitchVnsElement extends AdapterBase implements
|
|||
+ network.getDisplayText());
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue