mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #19749 from bprashanth/color
Remove undefined color_ variables
This commit is contained in:
commit
912e54e496
@ -45,10 +45,10 @@ function gcloud-compute-list() {
|
||||
echo "${result}"
|
||||
return
|
||||
fi
|
||||
echo -e "${color_yellow}Attempt ${attempt} failed to list ${resource}. Retrying.${color_norm}" >&2
|
||||
echo -e "Attempt ${attempt} failed to list ${resource}. Retrying." >&2
|
||||
attempt=$(($attempt+1))
|
||||
if [[ ${attempt} > 5 ]]; then
|
||||
echo -e "${color_red}List ${resource} failed!${color_norm}" >&2
|
||||
echo -e "List ${resource} failed!" >&2
|
||||
exit 2
|
||||
fi
|
||||
sleep $((5*${attempt}))
|
||||
|
Loading…
Reference in New Issue
Block a user