mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-04 12:10:14 -08:00
Revert "Simplify runtime version code more"
This commit is contained in:
parent
cb690a2d23
commit
77f5b9d268
|
@ -26,6 +26,7 @@ var (
|
||||||
Branch string
|
Branch string
|
||||||
BuildUser string
|
BuildUser string
|
||||||
BuildDate string
|
BuildDate string
|
||||||
|
GoVersion = runtime.Version()
|
||||||
)
|
)
|
||||||
|
|
||||||
// Map provides the iterable version information.
|
// Map provides the iterable version information.
|
||||||
|
@ -35,7 +36,7 @@ var Map = map[string]string{
|
||||||
"branch": Branch,
|
"branch": Branch,
|
||||||
"buildUser": BuildUser,
|
"buildUser": BuildUser,
|
||||||
"buildDate": BuildDate,
|
"buildDate": BuildDate,
|
||||||
"goVersion": runtime.Version(),
|
"goVersion": GoVersion,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
Loading…
Reference in a new issue