Skip to content

Commit

Permalink
fix: fix var name for commit hash (StyraInc#1150)
Browse files Browse the repository at this point in the history
that used for `version` subcommand

Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
  • Loading branch information
rinx authored and srenatus committed Oct 1, 2024
1 parent 8954370 commit 3ef2e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var Version = ""

// Additional Regal metadata to be injected at build time.
var (
Vcs = ""
Commit = ""
Timestamp = ""
Hostname = ""
)
Expand Down Expand Up @@ -54,7 +54,7 @@ func New() Info {
Version: unknownString(Version),
GoVersion: goVersion,
Platform: platform,
Commit: unknownString(Vcs),
Commit: unknownString(Commit),
Timestamp: unknownString(Timestamp),
Hostname: unknownString(Hostname),
}
Expand Down

0 comments on commit 3ef2e09

Please sign in to comment.