HomeClusterLabs Projects

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

Description

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

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 refresh() would segfault.)

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

Details

Provenance
nrwahl2Authored on Mar 3 2025, 6:51 PM
Parents
rPf70e13689ef7: Refactor: tools: Pass node to crm_resource.c:clear_constraints()
Branches
Unknown
Tags
Unknown