Skip to content

Commit

Permalink
be explicit when returning from healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertdeng123 committed Dec 18, 2024
1 parent fe78f05 commit 72d520b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devservices/utils/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def wait_for_healthy(container_name: str, status: Status) -> None:
stderr=e.stderr,
) from e

if result != "unhealthy":
if result == "healthy" or result == "unknown":
return

# If not healthy, wait and try again
Expand Down

0 comments on commit 72d520b

Please sign in to comment.