Skip to content

Commit

Permalink
Future-proof detect-minions for gke
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ffml committed Aug 21, 2015
1 parent 489e75e commit 30b8802
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cluster/gke/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[*]}"
}

Expand Down

0 comments on commit 30b8802

Please sign in to comment.