HomeClusterLabs Projects

Refactor: scheduler: drop unnecessary arguments to child_demoting_constraints()

Description

Refactor: scheduler: drop unnecessary arguments to child_demoting_constraints()

Every caller uses pe_order_optional for the "type" argument, so drop the
argument and use that directly. The final "data_set" argument was redundant
since we have rsc->cluster.

Details

Provenance
kgaillotAuthored on Jun 16 2022, 2:42 PM
Parents
rP1297c2cca413: Refactor: scheduler: best practices when ordering instance promotion
Branches
Unknown
Tags
Unknown