Merge pull request #95943 from aojea/upgradejob

fix unbound variable on upgrade
This commit is contained in:
Kubernetes Prow Robot
2020-10-28 06:39:56 -07:00
committed by GitHub

View File

@@ -462,7 +462,9 @@ function update-coredns-config() {
# clean up # clean up
cleanup() { cleanup() {
rm -rf "${download_dir}" if [ -n "${download_dir:-}" ]; then
rm -rf "${download_dir}"
fi
} }
trap cleanup RETURN trap cleanup RETURN