HomeClusterLabs Projects

Refactor: tools: Drop gratuitious pcmk_find_node() for cmd_digests
200848468358Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: tools: Drop gratuitious pcmk_find_node() for cmd_digests

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

And in fact options.host_uname must be non-NULL, because
is_node_required() returns true for cmd_digests.

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

Details

Provenance
nrwahl2Authored on Mar 3 2025, 6:54 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.