mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #101411 from saschagrunert/buildid
Stop unsetting the golang buildid
This commit is contained in:
commit
14066e9798
@ -794,7 +794,7 @@ kube::golang::build_binaries() {
|
||||
# Disable SC2153 for this, as it will throw a warning that the local
|
||||
# variable goldflags will exist, and it suggest changing it to this.
|
||||
# shellcheck disable=SC2153
|
||||
goldflags="${GOLDFLAGS=-s -w -buildid=} $(kube::version::ldflags)"
|
||||
goldflags="${GOLDFLAGS=-s -w} $(kube::version::ldflags)"
|
||||
goasmflags="-trimpath=${KUBE_ROOT}"
|
||||
gogcflags="${GOGCFLAGS:-} -trimpath=${KUBE_ROOT}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user