diff --git a/hack/config-go.sh b/hack/config-go.sh index 6bb6037c681..52d04d1d857 100644 --- a/hack/config-go.sh +++ b/hack/config-go.sh @@ -52,7 +52,7 @@ kube::version_ldflags() { fi # The -ldflags parameter takes a single string, so join the output. - echo "${ldflags[*]}" + echo "${ldflags[*]-}" ) }