mirror of https://github.com/apache/cloudstack.git
QuickCloud: default to enabled if not specified in datacenter config
This commit is contained in:
parent
2e6c65fd34
commit
bf56403d82
|
|
@ -329,7 +329,7 @@ class deployDataCenters():
|
|||
self.createSecondaryStorages(zone.secondaryStorages, zoneId)
|
||||
|
||||
enabled = getattr(zone, 'enabled', 'True')
|
||||
if enabled == 'True' or enabled == 'None':
|
||||
if enabled == 'True' or enabled is None:
|
||||
self.enableZone(zoneId, "Enabled")
|
||||
details = getattr(zone, 'details')
|
||||
if details is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue