HomeClusterLabs Projects

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent 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
rP52c9dce783f1: Refactor: libpacemaker: pcmk__schedule_actions should return a value.
Branches
Unknown
Tags
Unknown

Event Timeline