We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf00aa commit 2873df3Copy full SHA for 2873df3
_wait-for-services.sh
@@ -14,12 +14,13 @@ done=false
14
15
while [[ "$done" = false ]]; do
16
for port in $ports; do
17
- curl --fail http://${host}:${port}$path >& /dev/null
+ url=http://${host}:${port}$path
18
+ curl --fail $url >& /dev/null
19
if [[ "$?" -eq "0" ]]; then
20
done=true
21
else
22
done=false
- echo http://${host}:${port}/health
23
+ echo $url
24
break
25
fi
26
done
wait-for-services.sh
@@ -2,4 +2,4 @@
2
3
./_wait-for-services.sh /actuator/health 8081 8082 8083 8084 8085 8086
4
5
-./_wait-for-services.sh /health 8099 8098
+./_wait-for-services.sh /health 8099
0 commit comments