HomeClusterLabs Projects

Refactor: tools: Show cibadmin validation errors only if output is CIB

Description

Refactor: tools: Show cibadmin validation errors only if output is CIB

Don't try to validate a PCMK__XE_FAILED element from a failed create
command, or any kind of CIB fragment.

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

Details

Provenance
nrwahl2Authored on Jul 29 2025, 5:19 AM
Parents
rP49037c27b207: Refactor: tools: New cibadmin_pre_replace()
Branches
Unknown
Tags
Unknown