diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-05-22 17:00:33 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-05-22 17:25:55 +0200 |
commit | e7a15c1e1b9746083347bac3dd72b885e7b22afd (patch) | |
tree | 77be0fb4e8f7e2bc1466ecd5a61415e153046128 /filters/ccs2ccs_pcmk.py | |
parent | f94c741602dc7ce8acb4381e097e7da8cc259dc4 (diff) | |
download | clufter-e7a15c1e1b9746083347bac3dd72b885e7b22afd.tar.gz clufter-e7a15c1e1b9746083347bac3dd72b885e7b22afd.tar.xz clufter-e7a15c1e1b9746083347bac3dd72b885e7b22afd.zip |
filter: XMLFilter: pass common params (raw) rather via context
...bringing also "single point of authority/modification" in this matter
+ also switch the naming order wrt. proceed_xslt identifiers (because
of similarity with imposed "ctxt_" prefix
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'filters/ccs2ccs_pcmk.py')
-rw-r--r-- | filters/ccs2ccs_pcmk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/ccs2ccs_pcmk.py b/filters/ccs2ccs_pcmk.py index 443817c..855800b 100644 --- a/filters/ccs2ccs_pcmk.py +++ b/filters/ccs2ccs_pcmk.py @@ -15,4 +15,4 @@ def ccs2ccs_pcmk(flt_ctxt, in_obj): # there is also a possibility to put service-only directive # as a file under /etc/corosync/service.d/ (called, e.g., pcmk, # see Clusters from Scratch document) - return ('etree', flt_ctxt.proceed_xslt_filter(in_obj, raw=flt_ctxt['raw'])) + return ('etree', flt_ctxt.ctxt_proceed_xslt(in_obj)) |