Merge pull request #76208 from kewu1992/automated-cherry-pick-of-#76111-upstream-release-1.14

Automated cherry pick of #76111: Fix empty array expansion error in cluster/gce/util.sh
pull/564/head
Kubernetes Prow Robot 2019-04-05 11:53:20 -07:00 committed by GitHub
commit 530d3dbb22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3027,7 +3027,7 @@ function kube-down() {
# change during a cluster upgrade.)
local templates=$(get-template "${PROJECT}")
local all_instance_groups=(${INSTANCE_GROUPS[@]} ${WINDOWS_INSTANCE_GROUPS[@]})
local all_instance_groups=(${INSTANCE_GROUPS[@]:-} ${WINDOWS_INSTANCE_GROUPS[@]:-})
for group in ${all_instance_groups[@]:-}; do
if gcloud compute instance-groups managed describe "${group}" --project "${PROJECT}" --zone "${ZONE}" &>/dev/null; then
gcloud compute instance-groups managed delete \