We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d23c3ca + cbb252f commit 56ea1e9Copy full SHA for 56ea1e9
docker-entrypoint.sh
@@ -34,7 +34,7 @@ check_services () {
34
check=$(curl -sg --unix-socket /var/run/docker.sock http://$CHK_DOCKER_API_VERSION/tasks?filters={%22service%22:[%22$service%22]} | jq '.[]? | select((.Status.State|index("running")>=0))? | .ID?' | wc -l)
35
36
state="0"
37
- if [ $check = $expected ]; then
+ if [ $check -ge $expected ]; then
38
state="1"
39
fi
40
0 commit comments