HomeClusterLabs Projects

Low: scheduler: correctly skip dangling id-ref

Description

Low: scheduler: correctly skip dangling id-ref

When evaluating XML nvpair blocks, make_pairs() previously reused the
"for" loop variable when expanding id-ref's. However if the id-ref was dangling
(only possible if schema enforcement is turned off), this would make it NULL
and thus exiting the loop instead of continuing.

Details

Provenance
kgaillotAuthored on Nov 13 2020, 10:21 AM
Parents
rPdf842adafca8: Refactor: scheduler: trivial refactoring of nvpair evaluation
Branches
Unknown
Tags
Unknown

Event Timeline