HomeClusterLabs Projects

Refactor: scheduler: best practices when updating actions for ordering flags

Description

Refactor: scheduler: best practices when updating actions for ordering flags

Rename graph_update_action() to update_action_for_ordering_flags(), add a
doxygen block, improve comments, and use pcmk_is_set()/pcmk_any_flags_set()
where appropriate.

This drops the "node" function argument since it can be determined from the
other arguments, and uses order->type directly instead of creating a type
variable for it.

Details

Provenance
kgaillotAuthored on Dec 2 2021, 1:58 PM
Parents
rPa36389f4d896: Refactor: scheduler: make action remapping easier to follow
Branches
Unknown
Tags
Unknown

Event Timeline