Skip to content

Commit e06a856

Browse files
author
Prasanna Santhanam
committed
propagate storagetype fix from commit e49b3b to diskOffering
Author: Prasanna Santhanam <tsp@apache.org> Date: Sun Dec 9 23:13:24 2012 -0800 marvin: storagetype reference only when attr present reference the storagetype only when present. storagetype is reqd only for devcloud style tests Signed-off-by: Prasanna Santhanam <tsp@apache.org>
1 parent 9b05d55 commit e06a856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tools/marvin/marvin/integration/lib

‎tools/marvin/marvin/integration/lib/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ def create(cls, apiclient, services, custom=False, domainid=None):
11361136
if domainid:
11371137
cmd.domainid = domainid
11381138

1139-
if services["storagetype"]:
1139+
if "storagetype" in services:
11401140
cmd.storagetype = services["storagetype"]
11411141

11421142
return DiskOffering(apiclient.createDiskOffering(cmd).__dict__)

0 commit comments

Comments
 (0)