HomeClusterLabs Projects

Refactor: tools: Functionize options.require_scheduler in crm_resource

Description

Refactor: tools: Functionize options.require_scheduler in crm_resource

Note: Previously delete_cb() set options.require_scheduler to FALSE.
However, this was always overridden in main(), where
options.require_scheduler was set to TRUE because:

  • delete_cb() set find_flags to a nonzero value
  • cmd_delete required a --resource argument

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

Details

Provenance
nrwahl2Authored on Feb 23 2024, 8:07 PM
Parents
rP07a7da6134b7: Refactor: tools: Functionize options.require_crmd in crm_resource
Branches
Unknown
Tags
Unknown