HomeClusterLabs Projects

Low: fencer: improve error-checking of request XML

Description

Low: fencer: improve error-checking of request XML

Improve error-checking in create_async_command(), and add a doxygen block.
Do all error-checking first to avoid unnecessary overhead in that case.

Trace-log request XML when received rather than when parsing it, to make sure
it's always loggable. The callers log the XML at warning level on error.

Details

Provenance
kgaillotAuthored on Aug 9 2022, 11:59 AM
Parents
rP1f27776379e8: Refactor: fencer: use "target" terminology consistently
Branches
Unknown
Tags
Unknown