HomeClusterLabs Projects

Refactor: scheduler: use 0 for invalid utilization strings

Description

Refactor: scheduler: use 0 for invalid utilization strings

b239ec4ce (2.1.0) changed how utilization values were parsed, and
unintentionally changed the default for invalid values to INT_MIN (the default
for empty values was correctly kept at 0).

Return 0 for invalid values again. Also, add a doxygen block.

Details

Provenance
kgaillotAuthored on Dec 17 2021, 6:46 PM
Parents
rPde344dc331c3: Merge pull request #2613 from clumens/crm_mon-toggle
Branches
Unknown
Tags
Unknown

Event Timeline