HomeClusterLabs Projects

Refactor: libpacemaker: Unpack status in pcmk__schedule_actions()

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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 Sat, Jan 25, 6:51 PM

Commit No Longer Exists

This commit no longer exists in the repository.