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 da4a9f5 commit 2cb5391Copy full SHA for 2cb5391
liveliness.sh
@@ -9,7 +9,7 @@ do
9
echo "repo $i liveliness check..."
10
response=$(curl --head -L -w '%{http_code}' -o /dev/null -s -k -x http://127.0.0.1:3128 "$i")
11
if [[ "$response" -lt "200" ]] || [[ "$response" -ge "400" ]]; then
12
- echo "failed curl for repo $i"
+ echo "failed curl for repo $i with response $response" >&2
13
exit 1
14
fi
15
done
0 commit comments