Increase retry limit to 8, just in case

pull/5890/head
Thomas Stromberg 2019-11-11 17:14:22 -08:00
parent 2b025b17f9
commit a1b8d571bd
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ function retry_github_status() {
local timeout=2
local code=-1
while [[ "${attempt}" -lt 6 ]]; do
while [[ "${attempt}" -lt 8 ]]; do
code=$(curl -s -i --write-out "%{http_code}" -L \
"https://api.github.com/repos/kubernetes/minikube/statuses/${pr}?access_token=$token" \
-H "Content-Type: application/json" \

View File

@ -55,7 +55,7 @@ function retry_github_status() {
local timeout=2
local code=-1
while [[ "${attempt}" -lt 6 ]]; do
while [[ "${attempt}" -lt 8 ]]; do
code=$(curl -s -i --write-out "%{http_code}" -L \
"https://api.github.com/repos/kubernetes/minikube/statuses/${pr}?access_token=$token" \
-H "Content-Type: application/json" \