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.