mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
Merge pull request #1531 from prometheus/revert-1530-simplify-runtime-version
Revert "Simplify runtime version code more"
This commit is contained in:
commit
17079952c1
@ -26,6 +26,7 @@ var (
|
||||
Branch string
|
||||
BuildUser string
|
||||
BuildDate string
|
||||
GoVersion = runtime.Version()
|
||||
)
|
||||
|
||||
// Map provides the iterable version information.
|
||||
@ -35,7 +36,7 @@ var Map = map[string]string{
|
||||
"branch": Branch,
|
||||
"buildUser": BuildUser,
|
||||
"buildDate": BuildDate,
|
||||
"goVersion": runtime.Version(),
|
||||
"goVersion": GoVersion,
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
Loading…
Reference in New Issue
Block a user