Skip to content

Commit dcd76fb

Browse files
committed
Revert "Add a global instance for the config manager"
It seems to be more clear and easier to test to always pass a config manager explicitly, so we just remove the global instance, which was also a bit confusing when presented. This reverts commit 77295dc. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 05164ef commit dcd76fb

File tree

2 files changed

+0
-166
lines changed

2 files changed

+0
-166
lines changed

src/frequenz/sdk/config/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
"""Configuration management."""
55

6-
from ._global import (
7-
get_config_manager,
8-
initialize_config_manager,
9-
shutdown_config_manager,
10-
)
116
from ._logging_actor import LoggerConfig, LoggingConfig, LoggingConfigUpdatingActor
127
from ._manager import ConfigManager
138
from ._managing_actor import ConfigManagingActor
@@ -19,8 +14,5 @@
1914
"LoggerConfig",
2015
"LoggingConfig",
2116
"LoggingConfigUpdatingActor",
22-
"get_config_manager",
23-
"initialize_config_manager",
2417
"load_config",
25-
"shutdown_config_manager",
2618
]

src/frequenz/sdk/config/_global.py

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)