diff options
Diffstat (limited to 'filters')
-rw-r--r-- | filters/cluster/rm/__init__.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/filters/cluster/rm/__init__.py b/filters/cluster/rm/__init__.py index e573c9f..ee5a5ad 100644 --- a/filters/cluster/rm/__init__.py +++ b/filters/cluster/rm/__init__.py @@ -207,16 +207,28 @@ ccsflat2cibprelude = ('''\ </xsl:if> <xsl:variable name="IntervalFound" select="action[ - @name = 'monitor' + ( + @name = 'monitor' + or + @name = 'status' + ) and not(preceding-sibling::action[ - @name = 'monitor' + ( + @name = 'monitor' + or + @name = 'status' + ) and @depth < current()/@depth ]) and not(following-sibling::action[ - @name = 'monitor' + ( + @name = 'monitor' + or + @name = 'status' + ) and @depth < current()/@depth ]) |