diff --git a/bot_bottle/backend/docker/egress_apply.py b/bot_bottle/backend/docker/egress_apply.py index c180c3f..130fb8f 100644 --- a/bot_bottle/backend/docker/egress_apply.py +++ b/bot_bottle/backend/docker/egress_apply.py @@ -58,12 +58,7 @@ def validate_routes_content(content: str) -> None: def _routes_path(slug: str) -> Path: - state_dir = egress_state_dir(slug) - routes_path = state_dir / EGRESS_ROUTES_FILENAME - legacy_path = state_dir / "egress_routes.yaml" - if legacy_path.exists() and not routes_path.exists(): - return legacy_path - return routes_path + return egress_state_dir(slug) / EGRESS_ROUTES_FILENAME def _signal_bundle_reload(slug: str) -> None: