HomeClusterLabs Projects

Fix: libcrmcommon: Don't set fmt_name in pcmk__output_new.

Description

Fix: libcrmcommon: Don't set fmt_name in pcmk__output_new.

Leave setting this to each individual formatter's pcmk__mk_*_output
function. Setting it externally makes it more difficult to silently
fall back to another formatter should a requested one not be present.

Also, fmt_name should be const. There's no need for it to be otherwise.

Details

Provenance
clumensAuthored on May 23 2019, 4:25 PM
Parents
rP761d582a4c47: Refactor: libcrmcommon: Rename xml_private_t.
Branches
Unknown
Tags
Unknown

Event Timeline