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 2024-11-04 22:03:03 +00:00 committed by Brad Davidson
parent 74274e5a82
commit 22df6b01bd
1 changed files with 1 additions and 1 deletions

View File

@ -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"