From 18ef643dc7a6cef41b16e3aa762329a23ceff412 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 28 Aug 2018 08:01:45 -0700 Subject: [PATCH] Keep locals local --- scripts/gcloud.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gcloud.sh b/scripts/gcloud.sh index 9553561d6..00feaa9f4 100644 --- a/scripts/gcloud.sh +++ b/scripts/gcloud.sh @@ -25,6 +25,8 @@ gcloud_FindInstances() { declare filter="$1" declare options="$2" instances=() + + declare name zone publicIp privateIp status while read -r name zone publicIp privateIp status; do if [[ $status != RUNNING ]]; then echo "Warning: $name is not RUNNING, ignoring it."