HomeClusterLabs Projects

Low: libcrmcommon: Fix problems with pcmk__output_and_clear_error.

Description

Low: libcrmcommon: Fix problems with pcmk__output_and_clear_error.

First, it should take a GError ** so that doing anything in the function
modifies the error object that was passed to it. Second, the test case
should assert that the error is NULL, not that some element of it is
NULL.

Details

Provenance
clumensAuthored on Feb 20 2023, 4:12 PM
Parents
rPc4f6c191a487: Merge pull request #3027 from clumens/attrd_updater-all
Branches
Unknown
Tags
Unknown