mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 22:37:27 -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 {
|
if minutes != 0 {
|
||||||
return fmt.Sprintf("%s%dm %ds", sign, minutes, seconds)
|
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)
|
return fmt.Sprintf("%s%.4gs", sign, v)
|
||||||
}
|
}
|
||||||
prefix := ""
|
prefix := ""
|
||||||
|
|
Loading…
Reference in a new issue