HomeClusterLabs Projects

Refactor: tools: Take pcmk_resource_t in send_lrm_rsc_op()

Description

Refactor: tools: Take pcmk_resource_t in send_lrm_rsc_op()

This introduces some duplication that will go away soon.

Keep the rsc_id argument for logging, since it may differ from rsc->id
(found using pcmk_rsc_match_history via pe_find_resource()).

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

Details

Provenance
nrwahl2Authored on Fri, Mar 7, 1:27 AM
Parents
rP868790e85914: Refactor: tools: Drop redundant scheduler arg from cli_resource_move()
Branches
Unknown
Tags
Unknown