HomeClusterLabs Projects

Refactor: libpacemaker: Improve return codes in pcmk__pacemakerd_status

Description

Refactor: libpacemaker: Improve return codes in pcmk__pacemakerd_status

Use pcmk_rc_ipc_unresponsive if we don't get a response from the API,
and EBADMSG if we get an bad reply or unexpected reply type.

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

Details

Provenance
nrwahl2Authored on Oct 11 2022, 1:48 AM
Parents
rPda2e6679e4ca: Low: libpacemaker: Correct default for pinged_buf in pacemakerd_event_cb
Branches
Unknown
Tags
Unknown