Fix wording

This commit is contained in:
Vladimir Mihailenco 2020-06-10 17:22:06 +03:00
parent 0fbf4e7221
commit 408b4d52c8
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func usePrecise(dur time.Duration) bool {
func formatMs(dur time.Duration) int64 { func formatMs(dur time.Duration) int64 {
if dur > 0 && dur < time.Millisecond { if dur > 0 && dur < time.Millisecond {
internal.Logger.Printf( internal.Logger.Printf(
"specified duration is %s, but minimal supported value is %s - truncating to 1s", "specified duration is %s, but minimal supported value is %s - truncating to 1ms",
dur, time.Millisecond, dur, time.Millisecond,
) )
return 1 return 1