HomeClusterLabs Projects

Refactor: libcib: Clean up update_cib_object() and add_cib_object()

Description

Refactor: libcib: Clean up update_cib_object() and add_cib_object()

update_cib_object has only two callers: itself and add_cib_object().
add_cib_object() does all the top-level validation, including making
sure an object with the same name (and ID if given) doesn't already
exist.

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

Details

Provenance
nrwahl2Authored on Apr 4 2024, 7:35 PM
Parents
rP39b6baf4ab89: Refactor: libcrmcommon: Drop utf8_bytes()
Branches
Unknown
Tags
Unknown