Skip to content

Commit

Permalink
Revert build info change
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhopp committed Nov 30, 2022
1 parent 9ecb838 commit 413e1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ type SetupMetricsOption func()
func EnableBuildInfo(gitCommit, gitDate string) SetupMetricsOption {
return func() {
// register build info into metrics
metrics.NewRegisteredLabel("build_info", nil).Mark(map[string]interface{}{
metrics.NewRegisteredLabel("build-info", nil).Mark(map[string]interface{}{
"version": params.VersionWithMeta,
"git-commit": gitCommit,
"git-commit-date": gitDate,
Expand Down

0 comments on commit 413e1a8

Please sign in to comment.