HomeClusterLabs Projects

Refactor: scheduler: consolidate ordering flags functions

Description

Refactor: scheduler: consolidate ordering flags functions

get_flags() and get_asymmetrical_flags() are now combined into the more
descriptively named ordering_flags_for_kind(). get_flags() didn't use two of
its arguments, so those were dropped.

The old functions were unnecessarily exposed; the new one is static.

Details

Provenance
kgaillotAuthored on Jul 13 2021, 1:39 PM
Parents
rP055937f46996: Refactor: scheduler: functionize handling restart-type attribute
Branches
Unknown
Tags
Unknown

Event Timeline