Commit
+1 -1 +/-1 browse
1 | diff --git a/main.go b/main.go |
2 | index ab164e9..e8fe420 100644 |
3 | --- a/main.go |
4 | +++ b/main.go |
5 | @@ -144,7 +144,7 @@ func handleLabel(p *plot.Plot, l *plotter.Line, label string, metric string) { |
6 | } |
7 | tmpl, err := template.New("label").Parse(label) |
8 | if err != nil { |
9 | - log.Printf("Failed to parse label template: ", err) |
10 | + log.Printf("Failed to parse label template: %v", err) |
11 | } else { |
12 | var label_out bytes.Buffer |
13 | tmpl.Execute(&label_out, tags) |