diff --git a/cmd/virtual-kubelet/set-version.sh b/cmd/virtual-kubelet/set-version.sh index 9af21950..bb152a80 100755 --- a/cmd/virtual-kubelet/set-version.sh +++ b/cmd/virtual-kubelet/set-version.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ -z ${KUBELET_VERSION} ]; then +if [ -n ${KUBELET_VERSION} ]; then cat << EOF > pkg/virtualkubelet/version.go package main