HomeClusterLabs Projects

Refactor: various: Drop pcmk__xe_add_node()

Description

Refactor: various: Drop pcmk__xe_add_node()

All but one caller passes 0 for nodeid. In those cases, it's equivalent
to a single crm_xml_add() call. For the caller that passed nodeid >= 0,
we simply check whether it's > 0 and call crm_xml_add() again if so.

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

Details

Provenance
nrwahl2Authored on Wed, Jan 15, 11:16 PM
Parents
rP47b8613510a0: Merge pull request #3798 from clumens/f-strings
Branches
Unknown
Tags
Unknown