HomeClusterLabs Projects

Refactor: libcrmcommon, daemons: Use cluster_options array in getters

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

Description

Refactor: libcrmcommon, daemons: Use cluster_options array in getters

Drop the option_list and len arguments from pcmkcluster_option() and
pcmk
validate_cluster_options(). Use cluster_options in libcrmcommon
instead.

Now, all daemons fetch and validate the full set of cluster options,
even the ones they don't use. This is only slightly less efficient. It
ensures that there's no problem using the same option with multiple
daemons, and it makes it easy to use new options in a given daemon in
the future.

Now that nothing is using the local, per-daemon options arrays anymore,
we can drop them in an upcoming commit.

Ref T746

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

Details

Provenance
nrwahl2Authored on Jan 11 2024, 3:23 AM
Tasks
T746: Avoid duplicating option metadata across daemons

Commit No Longer Exists

This commit no longer exists in the repository.