From 88acffcda1c96291c11ceee23c6b035e5fcee4dd Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Sat, 17 Sep 2016 01:05:02 -0400 Subject: [PATCH] Fix error message around gcloud calls in node e2e and gubernator --- hack/make-rules/test-e2e-node.sh | 4 ++-- test/e2e_node/gubernator.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hack/make-rules/test-e2e-node.sh b/hack/make-rules/test-e2e-node.sh index 523afc86f0..491cd3490b 100755 --- a/hack/make-rules/test-e2e-node.sh +++ b/hack/make-rules/test-e2e-node.sh @@ -89,14 +89,14 @@ if [ $remote = true ] ; then # Get the compute zone zone=$(gcloud info --format='value(config.properties.compute.zone)') if [[ $zone == "" ]]; then - echo "Could not find gcloud compute/zone when running:\ngcloud info --format='value(config.properties.compute.zone)'" + echo "Could not find gcloud compute/zone when running: \`gcloud info --format='value(config.properties.compute.zone)'\`" exit 1 fi # Get the compute project project=$(gcloud info --format='value(config.project)') if [[ $project == "" ]]; then - echo "Could not find gcloud project when running:\ngcloud info --format='value(config.project)'" + echo "Could not find gcloud project when running: \`gcloud info --format='value(config.project)'\`" exit 1 fi diff --git a/test/e2e_node/gubernator.sh b/test/e2e_node/gubernator.sh index 9c937a34e9..7a8c549497 100755 --- a/test/e2e_node/gubernator.sh +++ b/test/e2e_node/gubernator.sh @@ -35,19 +35,19 @@ fi # Check that user has gsutil if [[ $(which gsutil) == "" ]]; then - echo "Could not find gsutil when running:\which gsutil" + echo "Could not find gsutil when running \`which gsutil\`" exit 1 fi # Check that user has gcloud if [[ $(which gcloud) == "" ]]; then - echo "Could not find gcloud when running:\which gcloud" + echo "Could not find gcloud when running: \`which gcloud\`" exit 1 fi # Check that user has Credentialed Active account if ! gcloud auth list | grep -q "ACTIVE"; then - echo "Could not find active account when running:\gcloud auth list" + echo "Could not find active account when running: \`gcloud auth list\`" exit 1 fi