HomeClusterLabs Projects

Refactor: libcrmcommon: use original message type in replies

Description

Refactor: libcrmcommon: use original message type in replies

Previously, all created messages and replies hardcoded PCMKVALUE_CRMD as the
message type (protocol identifier). Replies should always use the same message
type as the original request, so do that instead of hardcoding the value,
defaulting to PCMK
VALUE_CRMD to preserve existing behavior.

This has no effect until we change request message types, which is planned.

Details

Provenance
kgaillotAuthored on Jul 15 2024, 1:51 PM
Parents
rP281707ffe9f4: API: libcrmcommon: drop create_reply_adv() function
Branches
Unknown
Tags
Unknown