HomeClusterLabs Projects

Refactor: various: Match elements directly with get_xpath_object()

Description

Refactor: various: Match elements directly with get_xpath_object()

Now all internal callers call get_xpath_object() with XPath expressions
that can only match elements. This avoids the need to rely on the
strange pcmk__xpath_match_element() logic when we replace
get_xpath_object() with an internal function.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Wed, Mar 12, 11:16 PM
Parents
rP06329dee92e4: Refactor: fencer: Use PCMK__XA_ST_DEVICE_ACTION where appropriate
Branches
Unknown
Tags
Unknown