Merge pull request #13001 from jlowdermilk/gke-util

Future-proof detect-minions for gke
pull/6/head
Saad Ali 2015-08-20 17:44:09 -07:00
commit ebe50ea692
1 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,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[*]}"
}