HomeClusterLabs Projects

Refactor: attrd: Drop replace notify callback

Description

Refactor: attrd: Drop replace notify callback

Every time a CIB replace notification is sent, a CIB diff notification
is also sent. So move the attrd_cib_replaced_cb() logic into
attrd_cib_updated_cb() and drop attrd_cib_replaced_cb().

Check the patchset directly instead of checking change section flags.

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

Details

Provenance
nrwahl2Authored on Aug 9 2023, 2:48 AM
Parents
rPc2d61d49123a: Refactor: attrd: Use pcmk__cib_abs_xpath_for() instead of XPATH_ALERTS
Branches
Unknown
Tags
Unknown