HomeClusterLabs Projects

Low: tools, libpacemaker: Check the return value of pcmk__schedule_actions.
9c8cd0f5ef44Unpublished

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

Low: tools, libpacemaker: Check the return value of pcmk__schedule_actions.

This takes care of most callers - the ones in the daemons are unlikely
to be a problem. This allows catching the too-new schema condition in
various other tools and displaying an error message to the user.

Note that a couple other callers don't need to check the return value.
I've added comments explaining why.

Details

Provenance
clumensAuthored on Thu, Nov 14, 4:33 PM
Parents
rPd36492f7e83d: fixup! Refactor: libpacemaker: pcmk__schedule_actions should return a value.
Branches
Unknown
Tags
Unknown

Event Timeline