Skip to content

Commit

Permalink
Fix version command output
Browse files Browse the repository at this point in the history
  • Loading branch information
twz123 committed Sep 17, 2021
1 parent f197dc4 commit 516cb72
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/oidc-token-ferry/version/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ type Version struct {

func NewVersion() Version {
return Version{
Version: VERSION,
GoVersion: runtime.Compiler,
GoOs: runtime.GOOS,
GoArch: runtime.GOARCH,
Version: VERSION,
GoVersion: runtime.Version(),
GoCompiler: runtime.Compiler,
GoOs: runtime.GOOS,
GoArch: runtime.GOARCH,
}
}

Expand Down

0 comments on commit 516cb72

Please sign in to comment.