Skip to content

Commit f9e51cc

Browse files
authored
Merge pull request kubernetes#85274 from chendave/kube-up
fix the defect in the shell scripts
2 parents 1d343c8 + 7cfb6ec commit f9e51cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cluster/common.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ function find-tar() {
323323
# KUBE_MANIFESTS_TAR
324324
function find-release-tars() {
325325
SERVER_BINARY_TAR=$(find-tar kubernetes-server-linux-amd64.tar.gz)
326+
if [[ -z "${SERVER_BINARY_TAR}" ]]; then
327+
exit 1
328+
fi
326329
if [[ "${NUM_WINDOWS_NODES}" -gt "0" ]]; then
327330
NODE_BINARY_TAR=$(find-tar kubernetes-node-windows-amd64.tar.gz)
328331
fi

0 commit comments

Comments
 (0)