HomeClusterLabs Projects

Low: scheduler: improve date specification argument validation

Description

Low: scheduler: improve date specification argument validation

Return EINVAL for NULL arguments, and log a configuration warning if ID is
missing. This will become the best practice for rule functions going forward.

Previously, any time would match a NULL specification, but the functions would
log assertions in crm_element_value(). Now, this returns EINVAL.

Details

Provenance
kgaillotAuthored on Feb 12 2024, 6:11 PM
Parents
rPedb3568876b0: Refactor: libcrmcommon: best practices for pe_cron_range_satisfied()
Branches
Unknown
Tags
Unknown