HomeClusterLabs Projects

Refactor: libcrmcommon: New pcmk__map_element_name()

Description

Refactor: libcrmcommon: New pcmk__map_element_name()

Only useful for mapping PCMKXE_PROMOTABLE_LEGACY to PCMKXE_CLONE, so
drop at 3.0.0 unless we come up with another use for it.

Also avoid pcmk__map_element_name() in contexts where the resource is
guaranteed not to be a clone.

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

Details

Provenance
nrwahl2Authored on Feb 12 2024, 12:18 AM
Parents
rP9a9cd3921812: Refactor: libcrmcommon: PCMK__XA_CIB_UPDATE_RESULT -> XE
Branches
Unknown
Tags
Unknown