Skip to content

Commit bb9897a

Browse files
committed
Echo for debugging
1 parent 0ffaf21 commit bb9897a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/scripts/wait.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ wait_for_http() {
88
echo "Waiting for $url"
99
while [ "$(date +%s)" -lt "$end_time" ]; do # Loop until interval has elapsed.
1010
sleep 2
11+
echo "Checking $url"
1112
if [ "$(curl -s -o /dev/null -L -w '%{http_code}' "$url")" == "200" ]; then
1213
success='true'
1314
break
@@ -20,4 +21,4 @@ wait_for_http() {
2021
fi
2122
}
2223

23-
wait_for_http "${1:-http://localhost/api/v2/}"
24+
wait_for_http "${1:-http://localhost/api/v2/}"

0 commit comments

Comments
 (0)