Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement conditional depends_on #453

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update podman_compose.py
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
  • Loading branch information
Elkasitu and dawidd6 authored Oct 6, 2022
commit dad5d56f33e80b9e0a3dc05da3dce104f7b91d04
2 changes: 1 addition & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ def wait_healthy(compose, container_name):
if not info["Config"].get("Healthcheck"):
raise ValueError("Container %s does not define a health check" % container_name)

health = info["State"]["Healthcheck"]["Status"]
health = info["State"]["Health"]["Status"]
if health == "unhealthy":
raise RuntimeError(
"Container %s is in unhealthy state, aborting" % container_name
Expand Down