Keep locals local

This commit is contained in:
Michael Vines 2018-08-28 08:01:45 -07:00
parent 73a0bf8d30
commit 18ef643dc7
1 changed files with 2 additions and 0 deletions

View File

@ -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."