HomeClusterLabs Projects

Refactor: scheduler: best practices for promotion_order()

Description

Refactor: scheduler: best practices for promotion_order()

Rename promotion_order() to sort_promotable_instances() for readability,
add a doxygen block, drop a redundant argument, and improve variable names,
log messages, comments, and formatting.

Details

Provenance
kgaillotAuthored on May 13 2022, 3:27 PM
Parents
rP67bf49e86649: Refactor: scheduler: functionize resetting sort indexes to node weights
Branches
Unknown
Tags
Unknown