HomeClusterLabs Projects

Refactor: various: Match elements directly with get_xpath_object()
42704f1a7a72Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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 Mar 12 2025, 11:16 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.