mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-19 05:19:35 +00:00
Merge pull request #31 from weaveworks/mike/fix-shell-lint-errors
integrations: Fix a shellcheck linter error
This commit is contained in:
@@ -39,6 +39,7 @@ function vm_names {
|
|||||||
|
|
||||||
# Delete all vms in this account
|
# Delete all vms in this account
|
||||||
function destroy {
|
function destroy {
|
||||||
|
local names
|
||||||
names="$(vm_names)"
|
names="$(vm_names)"
|
||||||
if [ "$(gcloud compute instances list --zone "$ZONE" -q "$names" | wc -l)" -le 1 ] ; then
|
if [ "$(gcloud compute instances list --zone "$ZONE" -q "$names" | wc -l)" -le 1 ] ; then
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user