Skip to content

Commit

Permalink
Merge pull request #78 from smlx/runtimeversion
Browse files Browse the repository at this point in the history
chore: use runtime version
  • Loading branch information
smlx authored Jun 28, 2024
2 parents be85ef9 + fea49a1 commit a559b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/sems_mitm_exporter/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package main
import (
"encoding/json"
"fmt"
"runtime"
)

// These variables are set by GoReleaser during the build.
var (
commit string
date string
goVersion string
projectName string
version string
)
Expand All @@ -31,7 +31,7 @@ func (*VersionCmd) Run() error {
version,
commit,
date,
goVersion,
runtime.Version(),
})
if err != nil {
return err
Expand Down

0 comments on commit a559b4c

Please sign in to comment.