cluster/gci: Fix typo
This commit is contained in:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user