From 1b206399f6acb4ee98ec5d7f3bcb458a5d2bb51b Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Mon, 22 May 2023 19:59:47 -0400 Subject: [PATCH] fix using stale binaries in local-up-cluster --- hack/local-up-cluster.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 6cebf8f2599..e341fd620d7 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -186,10 +186,10 @@ do esac done -if [ -z "${GO_OUT:-$(guess_built_binary_path)}" ]; then +if [ -z "${GO_OUT}" ]; then make -C "${KUBE_ROOT}" WHAT="cmd/kubectl cmd/kube-apiserver cmd/kube-controller-manager cmd/cloud-controller-manager cmd/kubelet cmd/kube-proxy cmd/kube-scheduler" else - echo "skipped the build as we found existing binaries in $(guess_built_binary_path)" + echo "skipped the build because GO_OUT was set (${GO_OUT})" fi # Shut down anyway if there's an error.