HomeClusterLabs Projects

Refactor: tools: Take pcmk_resource_t in cli_resource_fail()
37e2b48252b7Unpublished

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: Take pcmk_resource_t in cli_resource_fail()

Note that pe_find_resource() is equivalent to
pe_find_resource_with_flags() with flags set to pcmk_rsc_match_history.

rsc is non-const because we access the scheduler through it. node can
become const again.

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

Details

Provenance
nrwahl2Authored on Mar 7 2025, 1:32 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.