mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Merge pull request #37664 from euank/fix-gci-typo
Automatic merge from submit-queue (batch tested with PRs 37870, 36643, 37664, 37545) cluster/gci: Fix typo
This commit is contained in:
commit
9d7644286d
@ -442,7 +442,7 @@ function try-load-docker-image {
|
|||||||
local -i attempt_num=1
|
local -i attempt_num=1
|
||||||
until timeout 30 docker load -i "${img}"; do
|
until timeout 30 docker load -i "${img}"; do
|
||||||
if [[ "${attempt_num}" == "${max_attempts}" ]]; then
|
if [[ "${attempt_num}" == "${max_attempts}" ]]; then
|
||||||
echo "Fail to load docker image file ${img} after ${max_attempts} retries. Exist!!"
|
echo "Fail to load docker image file ${img} after ${max_attempts} retries. Exit!!"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
attempt_num=$((attempt_num+1))
|
attempt_num=$((attempt_num+1))
|
||||||
|
Loading…
Reference in New Issue
Block a user