HomeClusterLabs Projects

Refactor: scheduler: change return type of resource transition function

Description

Refactor: scheduler: change return type of resource transition function

Change the return value of rsc_transition_fn from bool to void. Instead of
returning false, have the functions assert on errors, and replace NullOp() with
specifying NULL as the function.

Details

Provenance
kgaillotAuthored on Jun 15 2022, 6:10 PM
Parents
rP4c1b0c638d24: Refactor: scheduler: reformat resource action matrices
Branches
Unknown
Tags
Unknown