HomeClusterLabs Projects

Refactor: libpacemaker: Map EREMOTEIO to ok in pcmk_cluster_queries.c

Description

Refactor: libpacemaker: Map EREMOTEIO to ok in pcmk_cluster_queries.c

Optionally map EREMOTEIO to pcmk_rc_ok in
pcmk_cluster_queries.c:ipc_connect(), and set state to
pcmk_pacemakerd_state_remote. This still tells the caller that we're
running on a Pacemaker Remote node and gives us an accurate state
representation, without having to handle another return code.

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

Details

Provenance
nrwahl2Authored on Oct 13 2022, 4:37 PM
Parents
rPcab627971961: API: libcrmcommon: New pcmk_pacemakerd_state_remote enum value
Branches
Unknown
Tags
Unknown