HomeClusterLabs Projects

Refactor: tools: Drop last unneeded host_uname uses in crm_resource.c
70ae5b4ae98dUnpublished

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: Drop last unneeded host_uname uses in crm_resource.c

It would remain a little simpler to use options.host_uname for the calls
to cli_resource_print_operations(). In those cases, we use the node
object just for consistency, since we've virtually done away with
options.host_uname uses otherwise.

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

Details

Provenance
nrwahl2Authored on Mar 4 2025, 2:00 AM
Parents
rP5318845bee20: Refactor: tools: Drop node NULL check for crm_resource --digests
Branches
Unknown
Tags
Unknown

Event Timeline