[node-patches] Change in ovirt-node[master]: storage: fix validation for _functions.OVIRT_VARS.get()

dougsland at redhat.com dougsland at redhat.com
Fri Sep 12 05:07:32 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: storage: fix validation for _functions.OVIRT_VARS.get()
......................................................................

storage: fix validation for _functions.OVIRT_VARS.get()

In commit f95b03faac4 we improved the validation but needs to
remove the "not" statement.

Change-Id: I7a30fbbd6a5687db8643bf30c3975ffe3e07c3d7
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M src/ovirtnode/storage.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/38/32838/1

diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index 9ab4c05..86052ec 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -1010,7 +1010,7 @@
 
 def storage_auto():
     storage = Storage()
-    if not _functions.OVIRT_VARS.get("OVIRT_INIT"):
+    if _functions.OVIRT_VARS.get("OVIRT_INIT"):
         #force root install variable for autoinstalls
         _functions.OVIRT_VARS["OVIRT_ROOT_INSTALL"] = "y"
         if _functions.check_existing_hostvg("") or \


-- 
To view, visit http://gerrit.ovirt.org/32838
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a30fbbd6a5687db8643bf30c3975ffe3e07c3d7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list