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

Simplify runtime version code more
pull/1531/head
Julius Volz 9 years ago
commit cb690a2d23

@ -26,7 +26,6 @@ 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.
@ -36,7 +35,7 @@ var Map = map[string]string{
"branch": Branch, "branch": Branch,
"buildUser": BuildUser, "buildUser": BuildUser,
"buildDate": BuildDate, "buildDate": BuildDate,
"goVersion": GoVersion, "goVersion": runtime.Version(),
} }
func init() { func init() {

Loading…
Cancel
Save