make test zone an option in test-e2e-node.sh script

pull/58/head
Wei-Tsung Lin 2018-09-12 11:02:34 -07:00
parent 426ef9d349
commit ef06031dce
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ if [ $remote = true ] ; then
test_suite=${TEST_SUITE:-"default"}
# Get the compute zone
zone=$(gcloud info --format='value(config.properties.compute.zone)')
zone=${ZONE:-"$(gcloud info --format='value(config.properties.compute.zone)')"}
if [[ $zone == "" ]]; then
echo "Could not find gcloud compute/zone when running: \`gcloud info --format='value(config.properties.compute.zone)'\`"
exit 1