fix: syntax for container running check (#4)

This commit is contained in:
Marc 2022-09-04 13:06:26 -04:00 committed by GitHub
parent d55e2e486b
commit 8286204a7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ def healthcheck(ctx, as_json=False):
healthy = True
# Check that the container is running
running_containers = (
ctx.run("docker-compose ps --services --status running", hide=True)
ctx.run("docker-compose ps --services --filter status=running", hide=True)
.stdout.strip()
.split()
)

View file

@ -81,7 +81,7 @@ def healthcheck(ctx, as_json=False):
healthy = True
# Check that the container is running
running_containers = (
ctx.run("docker-compose ps --services --status running", hide=True)
ctx.run("docker-compose ps --services --filter status=running", hide=True)
.stdout.strip()
.split()
)