HomeClusterLabs Projects

Refactor: libpacemaker: Remove redundant args in rule check functions

Description

Refactor: libpacemaker: Remove redundant args in rule check functions

We never use the next_change argument of eval_date_expression(), so drop
it.

We don't need the date argument in eval_rule() since we can use
data_set->now.

This allows us to make the date arguments const for the public and
internal API functions.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Aug 29 2022, 3:21 PM
Parents
rPfb9a828c2c87: Refactor: libpacemaker: Use XML constants in pcmk_rule.c
Branches
Unknown
Tags
Unknown