diff --git a/release-tools/prow.sh b/release-tools/prow.sh index 9bfdc2e28..160de09dc 100755 --- a/release-tools/prow.sh +++ b/release-tools/prow.sh @@ -385,7 +385,8 @@ run_with_go () { # Ensure that we have the desired version of kind. install_kind () { - if kind --version 2>/dev/null | grep -q " ${CSI_PROW_KIND_VERSION}$"; then + + if kind --version 2>/dev/null | grep -q " ${CSI_PROW_KIND_VERSION}$"; then return fi if run curl --fail --location -o "${CSI_PROW_WORK}/bin/kind" "https://github.com/kubernetes-sigs/kind/releases/download/${CSI_PROW_KIND_VERSION}/kind-linux-amd64"; then