mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2969: Exception when creating vlan ip range
Description: Putting in null pointer check when creating ip range. Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
parent
c2b5c98de0
commit
ff0a524bd6
|
|
@ -2528,7 +2528,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
|||
}
|
||||
Transaction txn = Transaction.currentTxn();
|
||||
txn.start();
|
||||
if (sameSubnet.first() == false) {
|
||||
if (sameSubnet == null || sameSubnet.first() == false) {
|
||||
s_logger.info("adding a new subnet to the network "+network.getId());
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue