HomeClusterLabs Projects

Refactor: libpacemaker: Don't continue if pcmk_unpack_scheduler_input fails.
399de3f1b309Unpublished

Unpublished Commit ยท Learn More

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

Description

Refactor: libpacemaker: Don't continue if pcmk_unpack_scheduler_input fails.

This function can return a couple error codes, most notably when called
on input with a feature set that is newer than the latest supported. In
that case, the caller should return its own error instead f trying to
continue on with an unpopulated scheduler object. This prevents a
cascade of error messages.

Details

Provenance
clumensAuthored on Tue, Nov 19, 10:33 AM
Parents
rPc0cc157f2a4d: API: scheduler: Deprecate cluster_status.
Branches
Unknown
Tags
Unknown

Event Timeline