Remove undefined color_ variables.

parent 7f095c1f
...@@ -45,10 +45,10 @@ function gcloud-compute-list() { ...@@ -45,10 +45,10 @@ function gcloud-compute-list() {
echo "${result}" echo "${result}"
return return
fi 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)) attempt=$(($attempt+1))
if [[ ${attempt} > 5 ]]; then if [[ ${attempt} > 5 ]]; then
echo -e "${color_red}List ${resource} failed!${color_norm}" >&2 echo -e "List ${resource} failed!" >&2
exit 2 exit 2
fi fi
sleep $((5*${attempt})) sleep $((5*${attempt}))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment