mirror of https://github.com/apache/cloudstack.git
foutje bedank: None vs 0
This commit is contained in:
parent
90489813f5
commit
a1fe05e189
|
|
@ -626,7 +626,7 @@ class VirtualMachine:
|
|||
if custommemory:
|
||||
cmd.details[0]["memory"] = custommemory
|
||||
|
||||
if rootdisksize and rootdisksize >= 0:
|
||||
if not rootdisksize is None and rootdisksize >= 0:
|
||||
cmd.details[0]["rootdisksize"] = rootdisksize
|
||||
|
||||
if rootdiskcontroller:
|
||||
|
|
|
|||
Loading…
Reference in New Issue