HomeClusterLabs Projects

Refactor: tools: New instruction message in crm_shadow

Description

Refactor: tools: New instruction message in crm_shadow

We need a way to give the user instructions via XML output. out->info()
won't work since that method isn't implemented for XML.

This commit introduces a simple "instruction" message function. The
default is to simply call out->info(). For XML output, we create a text
node under an <instruction> element.

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

Details

Provenance
nrwahl2Authored on Feb 21 2023, 5:53 PM
Parents
rPc23f94845053: Refactor: tools: Scaffolding for formatted output in crm_shadow
Branches
Unknown
Tags
Unknown