HomeClusterLabs Projects

Refactor: libpacemaker: pass parent XML when creating graph action

Description

Refactor: libpacemaker: pass parent XML when creating graph action

Rename action2xml() to create_graph_action(), and pass it the parent XML
element that the new action should be added to.

This allows us to make it return void, and drop an add_node_nocopy() call
after each time it is called, to make it easier to follow.

Details

Provenance
kgaillotAuthored on Dec 10 2021, 2:28 PM
Parents
rP7e7a950882c9: Refactor: libpacemaker: functionize creating graph synapse element
Branches
Unknown
Tags
Unknown

Event Timeline