HomeClusterLabs Projects

Refactor: daemons: Use pcmk__request_t for LRMD_OP_RSC_UNREG.
019195f71f0aUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or 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
rP1b9406501265: Refactor: daemons: Use pcmk__request_t for LRMD_OP_CHECK.
Branches
Unknown
Tags
Unknown

Event Timeline