HomeClusterLabs Projects

Refactor: scheduler: pass next_change up when testing expressions and rules

Description

Refactor: scheduler: pass next_change up when testing expressions and rules

This adds a new pe_test_expression() that obsoletes pe_test_expression_full()
and pe_test_rule() that obsoletes pe_test_rule_full() (though I did consider
naming them pe_test_*_fuller()).

The new functions take a next_change parameter that gets passed along and back
when checking date expressions.

Details

Provenance
kgaillotAuthored on Sep 18 2019, 10:49 AM
Parents
rP0fdf5e0fec0e: Feature: scheduler: add ability to track when date expression evaluation will…
Branches
Unknown
Tags
Unknown

Event Timeline