Skip to content

Commit 8800450

Browse files
committed
Merge pull request kubernetes#13046 from jlowdermilk/fix-mig-command
fix mig command for gce
2 parents 86a10a1 + f0b5c5b commit 8800450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/gce/util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function detect-minion-names {
249249
detect-project
250250
MINION_NAMES=($(gcloud compute instance-groups managed list-instances \
251251
"${NODE_INSTANCE_PREFIX}-group" --zone "${ZONE}" --project "${PROJECT}" \
252-
| cut -d'/' -f11))
252+
--format=yaml | grep instance: | cut -d ' ' -f 2))
253253
echo "MINION_NAMES=${MINION_NAMES[*]}" >&2
254254
}
255255

0 commit comments

Comments
 (0)