HomeClusterLabs Projects

Refactor: scheduler: rename sort_clone_instance()

Description

Refactor: scheduler: rename sort_clone_instance()

... to pcmk__cmp_instance() to follow current guidelines and indicate that it
can be used for bundles as well as clones.

Also, move it (and static functions only it uses) to pcmk_sched_resource.c, and
add a doxygen block. No code changes otherwise.

Details

Provenance
kgaillotAuthored on Apr 21 2022, 3:43 PM
Parents
rPe484f6d19ed4: Refactor: scheduler: best practices for parent_node_instance()
Branches
Unknown
Tags
Unknown