Function mz_balancerd::dyncfgs::set_defaults
source ยท pub(crate) fn set_defaults(
config_set: &ConfigSet,
default_config: Vec<(String, String)>,
) -> Result<(), Error>
Expand description
Overrides default values for the Balancerd ConfigSet.
This is meant to be used in combination with clap cli flag
--default-config key=value
Not all ConfigSet values can be defaulted with this
function. An error will be returned if a key does
not accept default overrides, or if there is a value
parsing error..