Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
add version print
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuLiangWang committed Sep 6, 2023
1 parent a6aaf15 commit 68a9496
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/meta/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ var (
buildDate string
branchName string
commitID string
gitTag string
)

func buildVersion() string {
return fmt.Sprintf("CeresMeta Server\nVersion:%s\nGit commit:%s\nGit branch:%s\nBuild date:%s", gitTag, commitID, branchName, buildDate)
return fmt.Sprintf("CeresMeta Server\nGit commit:%s\nGit branch:%s\nBuild date:%s", commitID, branchName, buildDate)
}

func panicf(format string, args ...any) {
Expand Down

0 comments on commit 68a9496

Please sign in to comment.