HomeClusterLabs Projects

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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
rP4795f7fc85f9: Refactor: libcrmcommon: Use g_strsplit() in pcmk__scan_nvpair()
Branches
Unknown
Tags
Unknown

Event Timeline