You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sw...@apache.org on 2016/04/21 22:41:05 UTC

[05/10] git commit: updated refs/heads/master to bebaea3

CLOUDSTACK-9354 - Fixing an issue in Marvin around creating a template from a snapshot (if “is public” is not provided, there was a problem)

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ba9a61a3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ba9a61a3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ba9a61a3

Branch: refs/heads/master
Commit: ba9a61a30291effefc3857789096f04ebd5e5ad4
Parents: 3393555
Author: Mike Tutkowski <mi...@solidfire.com>
Authored: Mon Apr 18 11:56:08 2016 -0600
Committer: Mike Tutkowski <mi...@solidfire.com>
Committed: Tue Apr 19 14:13:24 2016 -0600

----------------------------------------------------------------------
 tools/marvin/marvin/lib/base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ba9a61a3/tools/marvin/marvin/lib/base.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py
index e2f4a2c..ff45139 100755
--- a/tools/marvin/marvin/lib/base.py
+++ b/tools/marvin/marvin/lib/base.py
@@ -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"]