From 107c33545b4c09eeafaf476a197ff3910b48e990 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sat, 18 Mar 2017 21:38:35 +0100 Subject: [PATCH] Don't truncate build version --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 5411243f2..fd5369ecf 100644 --- a/web/web.go +++ b/web/web.go @@ -425,7 +425,7 @@ func tmplFuncs(consolesPath string, opts *Options) template_text.FuncMap { }, "consolesPath": func() string { return consolesPath }, "pathPrefix": func() string { return opts.ExternalURL.Path }, - "buildVersion": func() string { return opts.Version.Revision[:7] }, + "buildVersion": func() string { return opts.Version.Revision }, "stripLabels": func(lset model.LabelSet, labels ...model.LabelName) model.LabelSet { for _, ln := range labels { delete(lset, ln)