summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-11-25 22:13:46 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-12-17 23:34:22 +0100
commit30b591ccc46645944dfe690c844c1137347c7c5b (patch)
tree6ecf41cbd8114ad960e605f117458b484f64a0e6
parent81117e8f546127236e5a0c32de981fbd707b1d8a (diff)
downloadclufter-30b591ccc46645944dfe690c844c1137347c7c5b.tar.gz
clufter-30b591ccc46645944dfe690c844c1137347c7c5b.tar.xz
clufter-30b591ccc46645944dfe690c844c1137347c7c5b.zip
filters/ccsflat2cibprelude[cluster]: //method[not(device)] possible
Previously, the production could contain //fencing-level[@devices = ""] that is (intentionally) invalid. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--filters/cluster/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/cluster/__init__.py b/filters/cluster/__init__.py
index 5f7296c..3ef779a 100644
--- a/filters/cluster/__init__.py
+++ b/filters/cluster/__init__.py
@@ -436,7 +436,7 @@ ccsflat2cibprelude = ('''\
<fencing-topology>
<xsl:for-each select="clusternodes/clusternode[
- count(fence/method) &gt; 1
+ count(fence/method[device]) &gt; 1
or
fence/method[
count(device) &gt; 1