HomeClusterLabs Projects

Refactor: libpacemaker: Unpack status in pcmk__schedule_actions()
7a4e7fbe2083Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libpacemaker: Unpack status in pcmk__schedule_actions()

pcmk__schedule_actions() expects that cluster_status() has already been
called, so just do it at the beginning. cluster_status() now checks
whether it's already been called and returns early if so, so this is
safe.

We actually did something similar in pcmkschedule_actions() until a
few commits ago, but the intermediate commits were clearer without
pcmk
schedule_actions() calling cluster_status().

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jan 25 2025, 6:51 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.