HomeClusterLabs Projects

Refactor: tools: Some best practices in cli_cleanup_all()

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
rP3c279f4acd0f: Refactor: tools: Take pcmk_node_t in cli_resource_delete()
Branches
Unknown
Tags
Unknown