Skip to content

Commit 1963d13

Browse files
committed
fix(liveliness): Follow curl redirects
1 parent 1f4fc05 commit 1963d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liveliness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ read -r -a repos <<< "$LIVELINESS_REPOS"
77
for i in "${repos[@]}"
88
do
99
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")
10+
response=$(curl --head -L -w '%{http_code}' -o /dev/null -s -k -x http://127.0.0.1:3128 "$i")
1111
if [ "$response" -ne 200 ]; then
1212
echo "failed curl for repo $i"
1313
exit 1

0 commit comments

Comments
 (0)