HomeClusterLabs Projects

Refactor: scheduler: best practices for compatible_replica()

Description

Refactor: scheduler: best practices for compatible_replica()

Rename to compatible_container(), add a doxygen block, drop unused argument,
and improve variable names, comments, and formatting.

Since the sole caller logs a better message, drop the redundant log here.

Details

Provenance
kgaillotAuthored on Apr 18 2023, 4:09 PM
Parents
rP41c8e314407b: Refactor: scheduler: de-functionize compatible_replica_for_node()
Branches
Unknown
Tags
Unknown