Skip to content

Commit

Permalink
remove obsolete update config action
Browse files Browse the repository at this point in the history
Change-Id: Ic36fcad5ee63abfc480d1baa873b1f33ff2ba53b
  • Loading branch information
mo-ki committed Feb 3, 2025
1 parent 50293e8 commit dda5242
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 711 deletions.
6 changes: 1 addition & 5 deletions cmk/base/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,14 +558,10 @@ def register(name: str, default_value: Any) -> None:
def load(
with_conf_d: bool = True,
validate_hosts: bool = True,
*,
changed_vars_handler: Callable[[set[str]], None] | None = None,
) -> None:
_initialize_config()

changed_var_names = _load_config(with_conf_d)
if changed_vars_handler is not None:
changed_vars_handler(changed_var_names)
_changed_var_names = _load_config(with_conf_d)

_initialize_derived_config_variables()

Expand Down
Loading

0 comments on commit dda5242

Please sign in to comment.