HomeClusterLabs Projects

Refactor: scheduler: separate recurring-related functions into own source file

Description

Refactor: scheduler: separate recurring-related functions into own source file

Separate create_recurring_actions() and the static functions it uses from
pcmk_sched_primitive.c to a new pcmk_sched_recurring.c. No code changes other
than renaming create_recurring_actions() to pcmk__create_recurring_actions().

Before:
2039 lib/pacemaker/pcmk_sched_primitive.c

After:
1469 lib/pacemaker/pcmk_sched_primitive.c

586 lib/pacemaker/pcmk_sched_recurring.c

Details

Provenance
kgaillotAuthored on Jun 7 2022, 1:20 PM
Parents
rPcfaddba4d531: Test: cts-scheduler: update expected graphs for recurring action change
Branches
Unknown
Tags
Unknown