Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commit... Commit: bf66212512ad7f97b38fcb49fc256ac76583afbd Parent: ab223883b3d79ef46c91c23fb32ba93c72b49762 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Mon Apr 4 15:37:03 2011 +0200 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Mon Apr 4 15:37:03 2011 +0200
bugfix uuid
--- fence/agents/lib/fencing.py.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py index ef55759..da5b07e 100644 --- a/fence/agents/lib/fencing.py.py +++ b/fence/agents/lib/fencing.py.py @@ -767,7 +767,7 @@ def fence_action(tn, options, set_power_fn, get_power_fn, get_outlet_list = None ## Process options that manipulate fencing device ##### - if (options["-o"] == "list") and (0 == options["device_opt"].count("port")) and (0 == options["device_opt"].count("partition")): + if (options["-o"] == "list") and (0 == options["device_opt"].count("port")) and (0 == options["device_opt"].count("partition") and 0 == options["device_opt"].count("uuid")): print "N/A" return elif (options["-o"] == "list" and get_outlet_list == None):