HomeClusterLabs Projects

Refactor: scheduler: don't check notify key unless necessary

Description

Refactor: scheduler: don't check notify key unless necessary

The only caller of pcmk__find_action_config() that can pass a notify action is
new_action() (called by custom_action() via new_notify_pseudo_action() or
new_notify_action()).

Instead of checking for and retrying with the notify action in
pcmk__find_action_config(), do it in new_action().

Details

Provenance
kgaillotAuthored on Oct 24 2023, 5:48 PM
Parents
rPc0fd09fba193: Fix: scheduler: avoid double free with disabled recurring actions
Branches
Unknown
Tags
Unknown