HomeClusterLabs Projects

Refactor: scheduler: merge Recurring() and Recurring_Stopped()

Description

Refactor: scheduler: merge Recurring() and Recurring_Stopped()

... and the if block surrounding them into a new function
create_recurring_actions(). This is clearer and allows us to iterate through
resource history only once.

Details

Provenance
kgaillotAuthored on Jun 7 2022, 12:18 PM
Parents
rPcdb382cec710: Refactor: scheduler: best practices for RecurringOp_Stopped()
Branches
Unknown
Tags
Unknown