HomeClusterLabs Projects

Refactor: libcrmcommon: Clean up xml_create_patchset()

Description

Refactor: libcrmcommon: Clean up xml_create_patchset()

Check valid format sooner. Improve variable names and scopes. Drop trace
messages that aren't particularly helpful. (They may also be inaccurate:
if the config didn't change, the top-level <cib> element may have
changed; this does not imply the status section changed.)

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

Details

Provenance
nrwahl2Authored on May 31 2024, 8:11 PM
Parents
rP67a1f556b950: API: libcrmcommon: Drop v1 patchset support from xml_patch_versions()
Branches
Unknown
Tags
Unknown