HomeClusterLabs Projects

Refactor: scheduler: functionize group colocation table initialization

Description

Refactor: scheduler: functionize group colocation table initialization

This part of the newly unified colocated node scores function should probably
become a resource method, but the INFINITY_HACK stuff complicates that a bit.

This commit makes it easier to do that in the future. It also makes a long
function easier to follow.

Details

Provenance
kgaillotAuthored on Oct 25 2022, 12:50 PM
Parents
rPc2eb24f02741: Low: scheduler: ignore empty groups in pcmk__add_colocated_node_scores()
Branches
Unknown
Tags
Unknown