Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
26151ec25a |
+1
-1
@@ -111,7 +111,7 @@ var funcs = template.FuncMap{
|
||||
"ago": ago,
|
||||
// shortNode is a node's name without what every node's name starts with.
|
||||
"shortNode": strings.TrimPrefix,
|
||||
"age": age,
|
||||
"age": age,
|
||||
// pctbar is a percentage as the minibar template takes it: whole, and
|
||||
// held to 0..100 so a measurement a little over does not draw past its box.
|
||||
"pctbar": func(v float64) struct{ P int } {
|
||||
|
||||
Reference in new issue
Block a user