cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chirad...@apache.org
Subject [18/19] git commit: updated refs/heads/master to bf56403
Date Tue, 09 Apr 2013 22:16:40 GMT
QuickCloud: default to enabled if not specified in datacenter config


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bf56403d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bf56403d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bf56403d

Branch: refs/heads/master
Commit: bf56403d828aa50c0650cc41cdc51aae79b1c19e
Parents: 2e6c65f
Author: Chiradeep Vittal <chiradeep@apache.org>
Authored: Tue Apr 9 14:45:12 2013 -0700
Committer: Chiradeep Vittal <chiradeep@apache.org>
Committed: Tue Apr 9 14:45:27 2013 -0700

----------------------------------------------------------------------
 tools/marvin/marvin/deployDataCenter.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bf56403d/tools/marvin/marvin/deployDataCenter.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/deployDataCenter.py b/tools/marvin/marvin/deployDataCenter.py
index d365395..2e270a7 100644
--- a/tools/marvin/marvin/deployDataCenter.py
+++ b/tools/marvin/marvin/deployDataCenter.py
@@ -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:


Mime
View raw message