We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f461e2f commit 8437e05Copy full SHA for 8437e05
1 file changed
scripts/check.sh
@@ -15,12 +15,15 @@ if [[ "$HEALTHCHECK" == "true" ]]; then
15
fi
16
17
if [[ "$LISTENER_ADDRESS" != "" ]]; then
18
- wget -qO- "http://localhost:8080/v1/docker-flow-proxy/successfulinitreload"
19
20
- if [[ $? -ne 0 ]]; then
21
- echo "ERROR: Initial reload was not successful"
22
- exit 1
23
- fi
+ while true; do
+ wget -qO- "http://localhost:8080/v1/docker-flow-proxy/successfulinitreload"
+
+ if [[ $? -eq 0 ]]; then
+ exit 0
24
+ fi
25
+ sleep 0.5
26
+ done
27
28
29
0 commit comments