mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Merge pull request #5854 from AllenZMC/patch-1
fix mis-spelling in template.go
This commit is contained in:
commit
8ae00e9868
|
@ -230,7 +230,7 @@ func NewTemplateExpander(
|
|||
if minutes != 0 {
|
||||
return fmt.Sprintf("%s%dm %ds", sign, minutes, seconds)
|
||||
}
|
||||
// For seconds, we display 4 significant digts.
|
||||
// For seconds, we display 4 significant digits.
|
||||
return fmt.Sprintf("%s%.4gs", sign, v)
|
||||
}
|
||||
prefix := ""
|
||||
|
|
Loading…
Reference in a new issue