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.
1 parent 0ffaf21 commit bb9897aCopy full SHA for bb9897a
Resources/scripts/wait.sh
@@ -8,6 +8,7 @@ wait_for_http() {
8
echo "Waiting for $url"
9
while [ "$(date +%s)" -lt "$end_time" ]; do # Loop until interval has elapsed.
10
sleep 2
11
+ echo "Checking $url"
12
if [ "$(curl -s -o /dev/null -L -w '%{http_code}' "$url")" == "200" ]; then
13
success='true'
14
break
@@ -20,4 +21,4 @@ wait_for_http() {
20
21
fi
22
}
23
-wait_for_http "${1:-http://localhost/api/v2/}"
24
+wait_for_http "${1:-http://localhost/api/v2/}"
0 commit comments