HomeClusterLabs Projects

Refactor: fencer: use common reply handling for T_STONITH_NOTIFY

Description

Refactor: fencer: use common reply handling for T_STONITH_NOTIFY

Previously, handle_request() called pcmkipc_send_ack() directly for
T_STONITH_NOTIFY, rather than let it fall through to stonith_send_reply(). With
recent refactors, the equivalent can be done with pcmk
ipc_create_ack() and
letting it fall through to the same reply handling as CRM_OP_REGISTER.

Now, any reply is always sent at the end of handle_request().

Details

Provenance
kgaillotAuthored on Feb 8 2022, 10:32 AM
Parents
rPb3bd224f9ef1: Refactor: libcrmcommon: functionize creating ack XML
Branches
Unknown
Tags
Unknown