fence-agents: master - fence_brocade: support option action on STDIN, originally only operation was supported

Marek GrĂ¡c marx at fedoraproject.org
Thu Apr 12 09:40:41 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0d93c7c45ae8ec446751b082819b5821b8861b90
Commit:        0d93c7c45ae8ec446751b082819b5821b8861b90
Parent:        d26471873aafd5db53d71faccc7ca2ac18e8cff3
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Thu Apr 12 11:36:35 2012 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Thu Apr 12 11:36:35 2012 +0200

fence_brocade: support option action on STDIN, originally only operation was supported

Resolves: rhbz#804805
---
 fence/agents/brocade/fence_brocade.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/brocade/fence_brocade.pl b/fence/agents/brocade/fence_brocade.pl
index b6d3f45..c820779 100644
--- a/fence/agents/brocade/fence_brocade.pl
+++ b/fence/agents/brocade/fence_brocade.pl
@@ -294,7 +294,7 @@ sub get_options_stdin
 	# FIXME -- depreicated residue of old fencing system
 	elsif ($name eq "name" ) { } 
 
-        elsif ($name eq "option" )
+        elsif (($name eq "option" ) || ($name eq "action"))
         {
             $opt_o = $val;
         }


More information about the cluster-commits mailing list