HomeClusterLabs Projects

Log: scheduler: improve message for empty location rules

Description

Log: scheduler: improve message for empty location rules

generate_location_rule(), whose return value was previously ignored, now
returns a bool for whether the rule was valid or not, and the caller now checks
it to log a more accurate error when a constraint contains invalid rules.

Details

Provenance
kgaillotAuthored on Mar 12 2024, 7:23 PM
Parents
rPa5a58f602715: Refactor: scheduler: validate rule ID in location constraint sooner
Branches
Unknown
Tags
Unknown