HomeClusterLabs Projects

Refactor: scheduler: best practices when checking resource agent definition

Description

Refactor: scheduler: best practices when checking resource agent definition

Rename check_rsc_parameters() to pcmk__rsc_agent_changed() for clarity,
add a doxygen block, use bool instead of gboolean, use const where possible,
and improve comments, formatting, and variable names.

Also simplify the function to require fewer variables.

Details

Provenance
kgaillotAuthored on Jan 7 2022, 1:14 PM
Parents
rPaaf460169ebd: Refactor: scheduler: best practices when setting one resource's allocation…
Branches
Unknown
Tags
Unknown

Event Timeline