HomeClusterLabs Projects

Low: scheduler: make validate_on_fail() replace value

Description

Low: scheduler: make validate_on_fail() replace value

Previously, validate_on_fail() validated the on-fail meta-attribute, and
returned it if valid, or an appropriate fallback if not.

Now, if on-fail is not valid, directly replace it in the meta-attributes table.

While this could theoretically have side effects, since previously the table
retained the raw value (and added it to the transition graph), nothing actually
needs the raw value.

Details

Provenance
kgaillotAuthored on Jul 27 2023, 6:12 PM
Parents
rP6142dac96957: Low: scheduler: compare action names case-sensitively in validate_on_fail()
Branches
Unknown
Tags
Unknown