Update deprecated gcloud syntax
This commit is contained in:
1 parent
8fcb5daedf
commit
5335c133a3
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user