diff options
author | Keuin <[email protected]> | 2022-09-14 03:16:38 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-14 03:16:38 +0800 |
commit | 1a2cd1e08b5f63814acbddf453be523fcca8bad3 (patch) | |
tree | 7c273b6e80695188e840de89a60bd158f9971f00 | |
parent | 7902849dc021610b0ec16d1130b9515efd1f64b1 (diff) |
Remove redundant 's' in time.
-rw-r--r-- | common/retry.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/retry.go b/common/retry.go index 471527c..ff7b869 100644 --- a/common/retry.go +++ b/common/retry.go @@ -22,7 +22,7 @@ func AutoRetry[T any]( ret, err = supplier() if err != nil { if logger != nil { - logger.Info("Try %v/%v (sleep %vs): %v", + logger.Info("Try %v/%v (sleep %v): %v", i, maxRetryTimes, retryInterval, err) } timer := time.NewTimer(retryInterval) |