mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix gcloud compute instance-groups managed list
call
This commit is contained in:
parent
b8fde17fc2
commit
0d1055213d
@ -336,7 +336,7 @@ function detect-node-names() {
|
||||
INSTANCE_GROUPS+=($(gcloud compute instance-groups managed list \
|
||||
--zones "${ZONE}" --project "${PROJECT}" \
|
||||
--regexp "${NODE_INSTANCE_PREFIX}-.+" \
|
||||
--format='value(instanceGroup)' || true))
|
||||
--format='value(name)' || true))
|
||||
NODE_NAMES=()
|
||||
if [[ -n "${INSTANCE_GROUPS[@]:-}" ]]; then
|
||||
for group in "${INSTANCE_GROUPS[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user