HomeClusterLabs Projects

Refactor: tools: Take pcmk_resource_t in cli_resource_fail()

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 Fri, Mar 7, 1:32 AM
Parents
rP9763e604391d: Refactor: tools: Take pcmk_resource_t in send_lrm_rsc_op()
Branches
Unknown
Tags
Unknown