HomeClusterLabs Projects

Refactor: tools: Simplify crm_resource update scheduler input functions

Description

Refactor: tools: Simplify crm_resource update scheduler input functions

update_scheduler_input_to_cib() is renamed to update_scheduler_input(),
and we pull in the code that was previously in update_scheduler_input().
We simplify initialize_scheduler_input().

This causes more errors to be logged in some circumstances, so a few
tests are updated.

Also drop redundant doxygen notes. pe_free_working_set() already frees
scheduler->input and scheduler->priv->now.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Oct 31 2024, 3:00 AM
Parents
rP26f9591dd7da: Merge pull request #3714 from nrwahl2/nrwahl2-refactor
Branches
Unknown
Tags
Unknown