From 5335c133a3f8a7648e7720f20d6526e3ffcbc51c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 25 Oct 2016 14:34:43 +0100 Subject: [PATCH] Update deprecated gcloud syntax --- test/gce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gce.sh b/test/gce.sh index cb3e56b7..e3a64634 100755 --- a/test/gce.sh +++ b/test/gce.sh @@ -34,7 +34,7 @@ function vm_names { # Delete all vms in this account function destroy { names="$(vm_names)" - if [ $(gcloud compute instances list --zone $ZONE -q $names | wc -l) -le 1 ] ; then + if [ $(gcloud compute instances list --zones $ZONE -q $names | wc -l) -le 1 ] ; then return 0 fi for i in {0..10}; do