Merge pull request #1531 from prometheus/revert-1530-simplify-runtime-version

Revert "Simplify runtime version code more"
This commit is contained in:
Julius Volz 2016-04-06 12:08:09 +02:00
commit 17079952c1

View File

@ -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() {