HomeClusterLabs Projects

Refactor: tools: Use default command in crm_resource

Description

Refactor: tools: Use default command in crm_resource

Set default when constructing options struct instead of later in main.
Setting it later in main is useful mainly if we want to log a warning or
do something else special if no command is explicitly set. We're not
doing that.

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

Details

Provenance
nrwahl2Authored on Feb 28 2024, 11:04 AM
Parents
rP0708d11192cf: Refactor: tools: Case-sensitive comparisons in crm_resource
Branches
Unknown
Tags
Unknown