fix mis-spelling in template.go

Signed-off-by: czm <zhongming.chang@daocloud.io>
This commit is contained in:
AllenZMC 2019-08-11 18:15:56 +08:00 committed by czm
parent 38ccf0157e
commit 00b556e9b5

View file

@ -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 := ""