We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents de931d5 + d70d04f commit 80d5622Copy full SHA for 80d5622
hack/lib/golang.sh
@@ -784,7 +784,7 @@ kube::golang::build_binaries() {
784
# Disable SC2153 for this, as it will throw a warning that the local
785
# variable goldflags will exist, and it suggest changing it to this.
786
# shellcheck disable=SC2153
787
- goldflags="${GOLDFLAGS=-s -w} $(kube::version::ldflags)"
+ goldflags="${GOLDFLAGS=-s -w -buildid=} $(kube::version::ldflags)"
788
goasmflags="-trimpath=${KUBE_ROOT}"
789
gogcflags="${GOGCFLAGS:-} -trimpath=${KUBE_ROOT}"
790
0 commit comments