Update deprecated gcloud syntax

This commit is contained in:
Bryan Boreham committed 2016-10-31 17:33:33 +00:00
1 parent 8fcb5daedf
commit 5335c133a3
1 file changed
+1 -1
+1 -1
View File
@@ -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