From f0b5c5b7b8dca21eb6f7c804447ed297951bbf95 Mon Sep 17 00:00:00 2001 From: Jeff Lowdermilk Date: Fri, 21 Aug 2015 10:34:04 -0700 Subject: [PATCH] fix mig command for gce --- cluster/gce/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 7617cd773a0..14b0e4426f7 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -249,7 +249,7 @@ function detect-minion-names { detect-project MINION_NAMES=($(gcloud compute instance-groups managed list-instances \ "${NODE_INSTANCE_PREFIX}-group" --zone "${ZONE}" --project "${PROJECT}" \ - | cut -d'/' -f11)) + --format=yaml | grep instance: | cut -d ' ' -f 2)) echo "MINION_NAMES=${MINION_NAMES[*]}" >&2 }