HomeClusterLabs Projects

Refactor: controller: trigger the FSA more consistently

Description

Refactor: controller: trigger the FSA more consistently

trigger_fsa() now takes no argument (since fsa_source is and should always be
the trigger), and it only sets the trigger if non-NULL (consistent with how
register_fsa_action() was defined).

register_fsa_action() no longer sets the trigger, and its callers instead
explicitly call trigger_fsa(), to make it more obvious what's happening in
those places.

Details

Provenance
kgaillotAuthored on Aug 3 2020, 1:47 PM
Parents
rP691825cf5fc3: Log: controller: add FSA input register flag functions
Branches
Unknown
Tags
Unknown

Event Timeline