Fix DOCKER_MAP

This commit is contained in:
2026-02-07 22:22:39 +03:00
parent 441bafa116
commit 2a76488902

View File

@@ -25,7 +25,8 @@ async def notify_start():
async def main():
state.DOCKER_MAP = await discover_containers(cfg)
state.DOCKER_MAP.clear()
state.DOCKER_MAP.update(await discover_containers(cfg))
if cfg.get("docker", {}).get("watchdog", True):
asyncio.create_task(docker_watchdog(state.DOCKER_MAP, notify, bot, ADMIN_ID))
await notify_start()