mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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…
x
Reference in New Issue
Block a user