HomeClusterLabs Projects

Refactor: scheduler: functionize shared part of applying location constraint

Description

Refactor: scheduler: functionize shared part of applying location constraint

Rather than have other variants call native_rsc_location() (a native variant
method) directly, move its guts to a new function pcmk__apply_location() in
pcmk_sched_location.c and have all variants call that.

Details

Provenance
kgaillotAuthored on Oct 18 2021, 7:04 PM
Parents
rP16748279f2cf: Refactor: scheduler: make colocated resources list a variant method
Branches
Unknown
Tags
Unknown

Event Timeline