Remove undefined color_ variables.

This commit is contained in:
Prashanth Balasubramanian 2016-01-15 17:24:42 -08:00
parent 7f095c1f8e
commit 7a97163914

View File

@ -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}))