HomeClusterLabs Projects

Refactor: tools: Pass node to crm_resource.c:clear_constraints()

Description

Refactor: tools: Pass node to crm_resource.c:clear_constraints()

If options.host_uname != NULL, then we already got the node in main() or
exited with an error. (Or if we didn't get the node in main() because
scheduler is NULL, then clear_constraints() would segfault.)

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 3 2025, 6:40 PM
Parents
rP7c29b2dc9052: Merge pull request #3839 from nrwahl2/nrwahl2-pengine
Branches
Unknown
Tags
Unknown