HomeClusterLabs Projects

Refactor: libcib, libcrmcommon: Drop xml_track_changes() internally
ffdebed203b3Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcib, libcrmcommon: Drop xml_track_changes() internally

The only remaining uses were in cib_perform_op() and in the unit tests
for pcmk__xc_create().

For cib_perform_op(), this introduces some duplication. We could
functionize the duplicated code, but that entire function is a huge mess
anyway, so I'm simply leaving it for now until we can revisit it as a
whole. Note that pcmk__enable_acl() is equivalent to the three calls
that xml_track_changes() was making.

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

Details

Provenance
nrwahl2Authored on Mar 12 2025, 2:16 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.