HomeClusterLabs Projects

Low: libcrmcommon: finish XML for libpacemaker public API function errors

Description

Low: libcrmcommon: finish XML for libpacemaker public API function errors

Previously, pcmk__out_epilogue() finished the XML only on success, which
probably dates to the early design when errors weren't included in the XML.

Now, drop the retval argument and always finish the XML. Also, rename the
function to pcmkxml_output_finish() to parallel pcmkxml_output_new().

Details

Provenance
kgaillotAuthored on May 27 2022, 10:19 AM
Parents
rP9271853b75e3: Refactor: libcrmcommon: rename pcmk__out_prologue()
Branches
Unknown
Tags
Unknown