Skip to content

Commit

Permalink
fix invalid type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho committed Oct 11, 2024
1 parent bcb8631 commit 942c946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/backend/agent/docker/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ async def _rollback_container_creation() -> None:
stdin_port = 0
stdout_port = 0
for idx, port in enumerate(exposed_ports):
ports: list[dict[str, Any]] | None = await container.port(port)
ports: list[PortInfo] | None = await container.port(port)
if ports is None:
raise ContainerCreationError(
container_id=cid, message="Container port not found"
Expand Down

0 comments on commit 942c946

Please sign in to comment.