Skip to content

Commit d1b80f3

Browse files
committed
Fix example in LoggingConfigUpdatingActor
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 9bf7e7f commit d1b80f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/frequenz/sdk/config/_logging_actor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,15 @@ class LoggingConfigUpdatingActor(Actor):
107107
from typing import Any
108108
109109
from frequenz.channels import Broadcast
110-
from frequenz.sdk.config import LoggingConfigUpdatingActor, ConfigManager
110+
from frequenz.sdk.config import LoggingConfigUpdatingActor, ConfigManagingActor
111111
from frequenz.sdk.actor import run as run_actors
112112
113113
async def run() -> None:
114114
config_channel = Broadcast[Mapping[str, Any]](name="config", resend_latest=True)
115115
actors = [
116-
ConfigManager(config_paths=["config.toml"], output=config_channel.new_sender()),
116+
ConfigManagingActor(
117+
config_paths=["config.toml"], output=config_channel.new_sender()
118+
),
117119
LoggingConfigUpdatingActor(
118120
config_recv=config_channel.new_receiver(limit=1)).map(
119121
lambda app_config: app_config.get("logging", {}

0 commit comments

Comments
 (0)