HomeClusterLabs Projects

Refactor: tools: Drop is_cib_required() and is_scheduler_required()

Description

Refactor: tools: Drop is_cib_required() and is_scheduler_required()

They depend on global state via has_cmdline_config(), which can be
confusing. The logic is simple enough that it seems clearer to check it
directly in main().

Also improve a few comments or drop extraneous ones

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

Details

Provenance
nrwahl2Authored on Sat, Mar 8, 8:33 PM
Parents
rPa177662cadb5: Doc: tools: Add FIXME for crm_resource --force-* commands
Branches
Unknown
Tags
Unknown