Merge pull request #31 from weaveworks/mike/fix-shell-lint-errors

integrations: Fix a shellcheck linter error
This commit is contained in:
Jonathan Lange
2016-08-17 14:30:30 +01:00
committed by GitHub

View File

@@ -39,6 +39,7 @@ function vm_names {
# Delete all vms in this account
function destroy {
local names
names="$(vm_names)"
if [ "$(gcloud compute instances list --zone "$ZONE" -q "$names" | wc -l)" -le 1 ] ; then
return 0