HomeClusterLabs Projects

Refactor: libcrmcommon: Drop getDocPtr() from internal code

Description

Refactor: libcrmcommon: Drop getDocPtr() from internal code

Other than a few exceptions where a doc isn't needed, we create all new
XML nodes via create_xml_node(). This ensures that the newly created
node has a doc. Therefore, we don't need a getter function that creates
and assigns a doc not present.

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

Details

Provenance
nrwahl2Authored on Jul 5 2023, 1:31 AM
Parents
rP98c2ed6e195a: Refactor: libpe_status: Drop redundant xmlNewChild()
Branches
Unknown
Tags
Unknown