Increase retry limit to 8, just in case
parent
2b025b17f9
commit
a1b8d571bd
|
@ -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" \
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue