HomeClusterLabs Projects

Refactor: libcrmcommon: Accept NULL parent in pcmk__xe_match()

Description

Refactor: libcrmcommon: Accept NULL parent in pcmk__xe_match()

Here we give up some mild sanity checking of existing use cases so that
we can replace find_xml_node() in an upcoming commit. find_xml_node() is
used in some cases where parent may be NULL, and it's not worth tracking
down every case and avoiding it at the caller side.

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

Details

Provenance
nrwahl2Authored on Feb 10 2024, 5:17 PM
Parents
rP871f90134cad: Refactor: libcrmcommon: Minor changes to pcmk__xe_match()
Branches
Unknown
Tags
Unknown