HomeClusterLabs Projects

Fix: libcrmcommon: Don't always write out a name attribute.

Description

Fix: libcrmcommon: Don't always write out a name attribute.

If the name attribute passed to list_item is NULL, do not write out an
empty name="" into the XML. The schema already allows for this
possibility, but the code would never actually do it.

Details

Provenance
clumensAuthored on Aug 24 2020, 3:08 PM
Parents
rPe21d3cc14025: Refactor: tools: Merge crm_mon's xml formatter into the regular one.
Branches
Unknown
Tags
Unknown

Event Timeline