mirror of https://github.com/apache/cloudstack.git
Summary: Allow passing 'storagetype' to DiskOffering.create in marvin base.py
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358185899 -0700
This commit is contained in:
parent
c06218d32f
commit
0293d3d665
|
|
@ -1109,6 +1109,9 @@ class DiskOffering:
|
|||
if domainid:
|
||||
cmd.domainid = domainid
|
||||
|
||||
if services["storagetype"]:
|
||||
cmd.storagetype = services["storagetype"]
|
||||
|
||||
return DiskOffering(apiclient.createDiskOffering(cmd).__dict__)
|
||||
|
||||
def delete(self, apiclient):
|
||||
|
|
|
|||
Loading…
Reference in New Issue