CLOUDSTACK-9139 make zwps default when defined on zone level

This commit is contained in:
Daan Hoogland 2015-12-11 11:37:42 +01:00
parent 312b9aff94
commit 9b89dfd643

View File

@ -243,8 +243,8 @@ class DeployDataCenters(object):
primarycmd.tags = primary.tags
primarycmd.url = primary.url
if primary.scope == 'zone':
primarycmd.scope = primary.scope
if primary.scope == 'zone' or clusterId is None:
primarycmd.scope = 'zone'
primarycmd.hypervisor = primary.hypervisor
else:
primarycmd.podid = podId