[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [fence-agents.git][PATCH] rng: enforce unfence action to always be "on" convention (FA part)

There is a silent agreement on this probably "since beginning" already
(cf. [1]).  Enforce it to move a boundary of what is explicitly
wrong a bit further.

Counterpart change for [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=865161#c17
[2] http://www.redhat.com/archives/cluster-devel/2013-November/msg00061.html

Signed-off-by: Jan Pokorný <jpokorny redhat com>
 fence/agents/lib/fence2rng.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fence/agents/lib/fence2rng.xsl b/fence/agents/lib/fence2rng.xsl
index 432bc89..08520af 100644
--- a/fence/agents/lib/fence2rng.xsl
+++ b/fence/agents/lib/fence2rng.xsl
@@ -123,7 +123,7 @@
         <xsl:value-of select="$NL"/>
-        <xsl:for-each select="parameters/parameter">
+        <xsl:for-each select="parameters/parameter[ name != 'action']">
             <!-- optional (start) -->
             <xsl:call-template name="tag-start">
                 <xsl:with-param name="name" select="'optional'"/>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]