Skip to content

Commit

Permalink
Don't truncate build version
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusv committed Mar 19, 2017
1 parent 0a7c8e9 commit 107c335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 107c335

Please sign in to comment.