mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9354 - Fixing an issue in Marvin around creating a template from a snapshot (if “is public” is not provided, there was a problem)
This commit is contained in:
parent
339355594c
commit
ba9a61a302
|
|
@ -1201,8 +1201,8 @@ class Template:
|
|||
random_gen()
|
||||
]) if random_name else services["name"]
|
||||
|
||||
if services["ispublic"]:
|
||||
cmd.ispublic = services["ispublic"]
|
||||
if "ispublic" in services:
|
||||
cmd.ispublic = services["ispublic"]
|
||||
|
||||
if "ostypeid" in services:
|
||||
cmd.ostypeid = services["ostypeid"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue