提交 a1b8d571 编写于 作者: T Thomas Stromberg

Increase retry limit to 8, just in case

上级 2b025b17
......@@ -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" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册