Skip to content

Commit

Permalink
Merge pull request #76111 from kewu1992/fix_gce_util.sh
Browse files Browse the repository at this point in the history
Fix emptry array expansion error in cluster/gce/util.sh
  • Loading branch information
k8s-ci-robot committed Apr 5, 2019
2 parents a727bdd + 925dc7f commit 1b1b785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/gce/util.sh
Expand Up @@ -3029,7 +3029,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 \
Expand Down

0 comments on commit 1b1b785

Please sign in to comment.