HomeClusterLabs Projects

Refactor: tools: create action sooner for crm_resource --force-*

Description

Refactor: tools: create action sooner for crm_resource --force-*

Previously, cli_resource_execute_from_params() would do some validation before
creating the action. In preparation for handling failures more consistently,
try to create the action first, so we can bail early on memory errors (which
can't be handled the same as other errors).

Details

Provenance
kgaillotAuthored on Sep 28 2021, 1:09 PM
Parents
rP9705e1c4d53d: Refactor: tools: functionize parameter overrides for crm_resource --force-*
Branches
Unknown
Tags
Unknown

Event Timeline