HomeClusterLabs Projects

Refactor: controller: Remove controller_option()

Description

Refactor: controller: Remove controller_option()

pcmkvalidate_cluster_options() already iterates over all the options,
validating them and adding their defaults to config_hash if the option
is missing or invalid. There's no need to call pcmk
cluster_option(),
which iterates over everything in controller_options until it finds the
target, and then runs the same checks as before.

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

Details

Provenance
nrwahl2Authored on Nov 15 2022, 2:51 PM
Parents
rP6af017c25d18: Refactor: controller: Remove redundant recheck_by global
Branches
Unknown
Tags
Unknown