HomeClusterLabs Projects

Refactor: tools: Some best practices in cli_cleanup_all()
9b01f6785ae1Unpublished

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: Some best practices in cli_cleanup_all()

Reduce duplication, use const, and compare against NULL explicitly.
Rename display_name to log_node_name to emphasize that it is indeed a
node name.

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

Details

Provenance
nrwahl2Authored on Mar 3 2025, 11:40 PM
Parents
rPba555b91c19e: Refactor: tools: Take pcmk_node_t in cli_resource_delete()
Branches
Unknown
Tags
Unknown

Event Timeline