mirror of https://github.com/apache/cloudstack.git
Bug 12592 - createZone: zone should be added in Disabled state
- Zone will be Disabled by default when created using createZone API
This commit is contained in:
parent
83400cd15f
commit
189822da50
|
|
@ -1569,7 +1569,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura
|
|||
boolean isSecurityGroupEnabled = cmd.getSecuritygroupenabled();
|
||||
|
||||
if (allocationState == null) {
|
||||
allocationState = Grouping.AllocationState.Enabled.toString();
|
||||
allocationState = Grouping.AllocationState.Disabled.toString();
|
||||
}
|
||||
|
||||
if (!(type.equalsIgnoreCase(NetworkType.Basic.toString())) && !(type.equalsIgnoreCase(NetworkType.Advanced.toString()))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue