From 77f5b9d268abb4dbb933352c9169ad157cd0c08e Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Wed, 6 Apr 2016 08:39:51 +0200 Subject: [PATCH] Revert "Simplify runtime version code more" --- version/info.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/version/info.go b/version/info.go index ee30efd3a..8e43b5726 100644 --- a/version/info.go +++ b/version/info.go @@ -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() {