HomeClusterLabs Projects

Refactor: scheduler: simplify searching for action config

Description

Refactor: scheduler: simplify searching for action config

All of the callers pcmk__find_action_config() know the action name and
interval, so pass those instead of the action key. This is much simpler and
more efficient.

This also allows more accurate detection of migration actions (previously, it
could wrongly use the "migrate" configuration if a resource had "migrate_to" or
"migrate_from" in its name).

Details

Provenance
kgaillotAuthored on Oct 24 2023, 6:03 PM
Parents
rPb379fdec6f5c: Low: scheduler: *really* ignore monitors for invalid roles
Branches
Unknown
Tags
Unknown