Skip to content

Commit f0b5c5b

Browse files
committed
fix mig command for gce
1 parent 65f4ebd commit f0b5c5b

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)