HomeClusterLabs Projects

Refactor: scheduler: use merge_weights() method for group members

Description

Refactor: scheduler: use merge_weights() method for group members

Certain code that merged weights for group members called
pcmk__native_merge_weights() directly rather than go through the method
pointer, since only primitives can be group members.

However calling the method is more logically consistent, and future-proofs
against any change allowing other resource types as group members.

Details

Provenance
kgaillotAuthored on Jul 21 2022, 12:19 PM
Parents
rP0faa0c75e6f8: Refactor: scheduler: move resource_alloc_functions_s to library-private header
Branches
Unknown
Tags
Unknown