From 22df6b01bd6a7232796d573aa1ba7e21b14bbbed Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Mon, 4 Nov 2024 22:03:03 +0000 Subject: [PATCH] Fix git-sha warning in etcd startup logs Signed-off-by: Brad Davidson (cherry picked from commit b67249ec777d738d25eb888a65007bd185d46ac8) Signed-off-by: Brad Davidson --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index 1bb17ca623..c799bb2a4c 100755 --- a/scripts/build +++ b/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"