Skip to content

Commit 9b89dfd

Browse files
committed
CLOUDSTACK-9139 make zwps default when defined on zone level
1 parent 312b9af commit 9b89dfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/marvin/marvin/deployDataCenter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ def createPrimaryStorages(self,
243243

244244
primarycmd.tags = primary.tags
245245
primarycmd.url = primary.url
246-
if primary.scope == 'zone':
247-
primarycmd.scope = primary.scope
246+
if primary.scope == 'zone' or clusterId is None:
247+
primarycmd.scope = 'zone'
248248
primarycmd.hypervisor = primary.hypervisor
249249
else:
250250
primarycmd.podid = podId

0 commit comments

Comments
 (0)