HomeClusterLabs Projects

Refactor: tools: Don't ignore invalid format in reconcile_output_formats

Description

Refactor: tools: Don't ignore invalid format in reconcile_output_formats

If --output-as is unspecified (pcmkstr_null_matches), then default to
"console". But if we get some nonsense like "asdf", don't use the
default. Let pcmk
output_new() try to create the output object and
fail.

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

Details

Provenance
nrwahl2Authored on Mar 30 2023, 2:37 AM
Parents
rPb455a69eb1a5: Low: tools: Case-sensitive comparisons in reconcile_output_format()
Branches
Unknown
Tags
Unknown