mirror of https://github.com/k3s-io/k3s
Fix git-sha warning in etcd startup logs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit b67249ec77
)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/11326/head
parent
74274e5a82
commit
22df6b01bd
|
@ -52,7 +52,7 @@ VERSIONFLAGS="
|
|||
-X ${PKG_CRI_DOCKERD}/cmd/version.GitCommit=HEAD
|
||||
-X ${PKG_CRI_DOCKERD}/cmd/version.BuildTime=${buildDate}
|
||||
|
||||
-X ${PKG_ETCD}/api/version.GitSHA=HEAD
|
||||
-X ${PKG_ETCD}/api/v3/version.GitSHA=HEAD
|
||||
"
|
||||
if [ -n "${DEBUG}" ]; then
|
||||
GCFLAGS="-N -l"
|
||||
|
|
Loading…
Reference in New Issue