Skip to content

Commit

Permalink
fix build version for etcd apiv3
Browse files Browse the repository at this point in the history
Signed-off-by: Deshi Xiao <[email protected]>
  • Loading branch information
xiaods committed Nov 19, 2024
1 parent bd2f543 commit c20e1ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/build
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,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"
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/templates/templates_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ var templateFuncs = template.FuncMap{
"deschemify": func(s string) string {
return s
},
}
}

0 comments on commit c20e1ad

Please sign in to comment.