diff options
author | Devaev Maxim <[email protected]> | 2019-04-28 21:01:03 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-28 21:01:03 +0300 |
commit | e13b5027d6093cbacccf49e9af9c46c0dc1ef374 (patch) | |
tree | 2369edf0a1811af471d7da2e74701825eac7968a /kvmd/apps/__init__.py | |
parent | 26338c5acfaf7c05cc3c8605d97e5b1e58a9280c (diff) |
load only required plugins
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index e4b10127..89a1af0e 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -111,9 +111,9 @@ def _init_config(config_path: str, sections: List[str], override_options: List[s config = make_config(raw_config, scheme) if "kvmd" in sections: - scheme["kvmd"]["auth"]["internal"] = get_auth_service_class(config.kvmd.auth.internal_type).get_options() + scheme["kvmd"]["auth"]["internal"] = get_auth_service_class(config.kvmd.auth.internal_type).get_plugin_options() if config.kvmd.auth.external_type: - scheme["kvmd"]["auth"]["external"] = get_auth_service_class(config.kvmd.auth.external_type).get_options() + scheme["kvmd"]["auth"]["external"] = get_auth_service_class(config.kvmd.auth.external_type).get_plugin_options() config = make_config(raw_config, scheme) return config |