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 1f4fc05 commit 1963d13Copy full SHA for 1963d13
liveliness.sh
@@ -7,7 +7,7 @@ read -r -a repos <<< "$LIVELINESS_REPOS"
7
for i in "${repos[@]}"
8
do
9
echo "repo $i liveliness check..."
10
- response=$(curl --head -w '%{http_code}' -o /dev/null -s -k -x http://127.0.0.1:3128 "$i")
+ response=$(curl --head -L -w '%{http_code}' -o /dev/null -s -k -x http://127.0.0.1:3128 "$i")
11
if [ "$response" -ne 200 ]; then
12
echo "failed curl for repo $i"
13
exit 1
0 commit comments