fix: syntax for container running check (#4)
This commit is contained in:
parent
d55e2e486b
commit
8286204a7d
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
)
|
||||
|
|
|
@ -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()
|
||||
)
|
||||
|
|
Reference in a new issue