HomeClusterLabs Projects

Refactor: daemons: Use pcmk__request_t for LRMD_OP_RSC_UNREG.
10d2a059f3ccUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Refactor: daemons: Use pcmk__request_t for LRMD_OP_RSC_UNREG.

This requires a little extra work, in addition to the steps of exposing
a function and changing its return type to be a standard Pacemaker
return code.

Sending a generic notify for unregistering a resource also requires
inspecting the return value, which we luckily have in the reply XML so
we can just grab it from there as needed.

Details

Provenance
clumensAuthored on Wed, Jul 9, 3:10 PM
Parents
rP63f0603a8fb7: Refactor: daemons: Use pcmk__request_t for LRMD_OP_CHECK.
Branches
Unknown
Tags
Unknown

Event Timeline