HomeClusterLabs Projects

Refactor: libcrmcommon: Rename pcmk__print_output_metadata...

Description

Refactor: libcrmcommon: Rename pcmk__print_output_metadata...

to pcmk__format_output_metadata to make it more clear what it now does.
It also returns the metadata string that used to be printed. This is so
that the output can be directed to various places. It also means the
caller is responsible for freeing the string when they're done with it.

Details

Provenance
clumensAuthored on Jan 11 2022, 12:17 PM
Parents
rP001b29896efd: Refactor: libcrmcommon: Use g_string_append_printf for metadata.
Branches
Unknown
Tags
Unknown

Event Timeline