fence-agents: master - fence_mpath: Fix duplicate "getopt" which was not propagated anywhere

Marek GrĂ¡c marx at fedoraproject.org
Wed Jan 7 13:41:13 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=ea5ece5705bb8e7d6da2c3d4402833b1004f66d5
Commit:        ea5ece5705bb8e7d6da2c3d4402833b1004f66d5
Parent:        0c33223d4b2e50edaee033d78a4391272d483a7a
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Wed Jan 7 14:40:07 2015 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Jan 7 14:40:07 2015 +0100

fence_mpath: Fix duplicate "getopt" which was not propagated anywhere

Found by integrated tests.
---
 fence/agents/mpath/fence_mpath.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fence/agents/mpath/fence_mpath.py b/fence/agents/mpath/fence_mpath.py
index 8a4811c..1dc3a20 100644
--- a/fence/agents/mpath/fence_mpath.py
+++ b/fence/agents/mpath/fence_mpath.py
@@ -181,7 +181,7 @@ be removed from the device(s).",
 		"order": 1
 	}
 	all_opt["mpathpersist_path"] = {
-		"getopt" : "X:",
+		"getopt" : ":",
 		"longopt" : "mpathpersist-path",
 		"help" : "--mpathpersist-path=[path]     Path to mpathpersist binary",
 		"required" : "0",
@@ -190,7 +190,7 @@ be removed from the device(s).",
 		"order": 200
 	}
 	all_opt["store_path"] = {
-		"getopt" : "X:",
+		"getopt" : ":",
 		"longopt" : "store-path",
 		"help" : "--store-path=[path]            Path to directory containing cached keys",
 		"required" : "0",


More information about the cluster-commits mailing list