mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
cluster/gci: Fix typo
This commit is contained in:
parent
ea576b7c53
commit
5c6e2aaef9
@ -429,7 +429,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