HomeClusterLabs Projects

Refactor: scheduler: functionize cancelling a recurring action for stopped role

Description

Refactor: scheduler: functionize cancelling a recurring action for stopped role

RecurringOp_Stopped() previously cancelled the action on the node where the
resource will be active, then looped through all nodes in the cluster, skipping
the node where the resource will be active and scheduling the action on the
rest.

Functionizing makes it convenient to call it in the loop, making it easier to
follow.

Details

Provenance
kgaillotAuthored on Jun 6 2022, 4:24 PM
Parents
rPc5133ef19c3d: Merge pull request #2862 from nrwahl2/nrwahl2-T97
Branches
Unknown
Tags
Unknown