HomeClusterLabs Projects

Low: scheduler: warn if lrm_resource has no ID

Description

Low: scheduler: warn if lrm_resource has no ID

This should be possible only if someone manually mis-edits the CIB, but that
case does merit a warning, and we should bail early if it happens (previously,
the right thing would eventually be done anyway, but log messages using a NULL
could theoretically cause a crash).

Details

Provenance
kgaillotAuthored on Jan 21 2021, 2:09 PM
Parents
rPed08885366fc: Refactor: scheduler: use convenience functions when unpacking lrm_resource
Branches
Unknown
Tags
Unknown

Event Timeline