Browse Source

fix mis-spelling in template.go

Signed-off-by: czm <zhongming.chang@daocloud.io>
pull/5854/head
AllenZMC 5 years ago committed by czm
parent
commit
00b556e9b5
  1. 2
      template/template.go

2
template/template.go

@ -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…
Cancel
Save