Merge pull request #85274 from chendave/kube-up

fix the defect in the shell scripts
This commit is contained in:
Kubernetes Prow Robot 2019-11-28 08:07:03 -08:00 committed by GitHub
commit f9e51ccda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,6 +323,9 @@ function find-tar() {
# KUBE_MANIFESTS_TAR
function find-release-tars() {
SERVER_BINARY_TAR=$(find-tar kubernetes-server-linux-amd64.tar.gz)
if [[ -z "${SERVER_BINARY_TAR}" ]]; then
exit 1
fi
if [[ "${NUM_WINDOWS_NODES}" -gt "0" ]]; then
NODE_BINARY_TAR=$(find-tar kubernetes-node-windows-amd64.tar.gz)
fi