Browse Source

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
Brad Davidson 3 weeks ago committed by Brad Davidson
parent
commit
22df6b01bd
  1. 2
      scripts/build

2
scripts/build

@ -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…
Cancel
Save