Skip to content

Commit

Permalink
Quote string to preserve newlines in output
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Dec 8, 2015
1 parent fdc433a commit 96f302d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/gce/list-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function gcloud-compute-list() {
while true; do
echo "Attempt ${attempt} to list ${resource} in GCE"
if result=$(gcloud compute ${resource} list --project=${PROJECT} ${@:2} | grep "${GREP_REGEX}"); then
echo ${result}
echo "${result}"
return
fi
echo -e "${color_yellow}Attempt ${attempt} failed to list ${resource}. Retrying.${color_norm}" >&2
Expand Down

0 comments on commit 96f302d

Please sign in to comment.