HomeClusterLabs Projects

Refactor: libcrmcommon: Best practices in xml_log_patchset()

Description

Refactor: libcrmcommon: Best practices in xml_log_patchset()

Add doxygen block, use bool instead of gboolean, limit scope of
variables, remove redundant patchset NULL check, reorder add/del
comparisons, fix indentation.

An upcoming commit will split format v1 and v2 into helper functions.

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

Details

Provenance
nrwahl2Authored on Dec 17 2022, 8:55 PM
Parents
rP8c78e0e81ecf: API: libpe_status: add pe_rsc_detect_loop constant
Branches
Unknown
Tags
Unknown