mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
integrations: Fix a shellcheck linter error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user