HomeClusterLabs Projects

Refactor: based: New cib_op_attr_{replaces,writes_through} flags

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

Description

Refactor: based: New cib_op_attr_{replaces,writes_through} flags

cib_op_attr_replaces is necessarily a superset of cib_op_attr_modifies
and implies that the latter is set. However, we set cib_op_attr_modifies
explicitly to make callers simpler.

This handles the cases in cib_process_command() where we currently use
pcmk__str_any_of() (except for one case in a legacy code block that
would require yet another new cib_op_attr flag).

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

Details

Provenance
nrwahl2Authored on May 24 2023, 4:31 PM

Commit No Longer Exists

This commit no longer exists in the repository.