Browse Source

fix: [compose-core] not ignore port and timeout arguments

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
master 1.5.17
Valentin Lab 2 years ago
parent
commit
f4b0750429
  1. 2
      bin/compose-core

2
bin/compose-core

@ -3129,7 +3129,7 @@ get_healthy_container_ip_for_service () {
exit 1
fi
wait_for_tcp_port "$container_network" "$container_ip:8069" 4 || {
wait_for_tcp_port "$container_network" "$container_ip:$port" "$timeout" || {
err "TCP port of ${DARKYELLOW}$service${NORMAL}'s container doesn't seem open"
echo " Please check that container is healthy. Here are last logs:" >&2
docker logs "$container" --tail=10 | prefix " ${GRAY}|${NORMAL} " >&2

Loading…
Cancel
Save