HomeClusterLabs Projects

Refactor: various: Limit xmlSetProp() to pcmk__xe_set_attr_force()

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: various: Limit xmlSetProp() to pcmk__xe_set_attr_force()

This facilitates refactoring private data allocation/deallocation.

This is basically a backport of e8bb4fad. However, the 2.1 branch still
has some extra legacy functions that are confusing -- especially
related to v1 patchsets. Rather than try to be certain that ACLs and
change tracking are disabled so that we can use crm_xml_add(), we create
the new function pcmk__xe_set_attr_force() that simply wraps
xmlSetProp().

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

Details

Provenance
nrwahl2Authored on Sep 3 2024, 11:45 PM

Commit No Longer Exists

This commit no longer exists in the repository.