Skip to content

Commit

Permalink
Merge pull request kubernetes#19749 from bprashanth/color
Browse files Browse the repository at this point in the history
Remove undefined color_ variables
  • Loading branch information
mikedanese committed Jan 16, 2016
2 parents 4969f11 + 7a97163 commit 912e54e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/gce/list-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}))
Expand Down

0 comments on commit 912e54e

Please sign in to comment.