diff --git a/cluster/gke/util.sh b/cluster/gke/util.sh index d6e8e4e165c..ea15e7a279f 100755 --- a/cluster/gke/util.sh +++ b/cluster/gke/util.sh @@ -245,7 +245,8 @@ function detect-minion-names { detect-node-instance-group MINION_NAMES=($(gcloud compute instance-groups managed list-instances \ "${NODE_INSTANCE_GROUP}" --zone "${ZONE}" --project "${PROJECT}" \ - | cut -d'/' -f11)) + --format=yaml | grep instance: | cut -d ' ' -f 2)) + echo "MINION_NAMES=${MINION_NAMES[*]}" }