[node-patches] Change in ovirt-node[master]: Fix --skip-existing-hooks option in ovirt-node-upgrade

jboggs at redhat.com jboggs at redhat.com
Wed Jun 4 16:42:23 UTC 2014


Joey Boggs has uploaded a new change for review.

Change subject: Fix --skip-existing-hooks option in ovirt-node-upgrade
......................................................................

Fix --skip-existing-hooks option in ovirt-node-upgrade

Change-Id: Ib3170ba0a00e855fab7dec6adbb59e5f9983e474
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1104779
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M scripts/ovirt-node-upgrade.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/69/28369/1

diff --git a/scripts/ovirt-node-upgrade.py b/scripts/ovirt-node-upgrade.py
index c3cc43f..8a38ba3 100755
--- a/scripts/ovirt-node-upgrade.py
+++ b/scripts/ovirt-node-upgrade.py
@@ -150,8 +150,8 @@
         parser.add_option("--reboot", type="int", default="0", dest="reboot",
                           help="Perform reboot after upgrade, argument is"
                           " amount of delay in seconds")
-        parser.add_option("--skip-existing-hooks", action="store_true",
-                          dest="skip_existing_hooks", default="False",
+        parser.add_option("--skip-existing-hooks", action="store_false",
+                          dest="skip_existing_hooks", default=False,
                           help="Use only new hooks from provided iso")
 
         parser.add_option("--iso", type="string", dest="iso_file",


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3170ba0a00e855fab7dec6adbb59e5f9983e474
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list