From 3342668660ea57ee65ca165242bdd8639599d825 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 11bea167715..213877a541d 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 }