summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-14 03:16:38 +0800
committerKeuin <[email protected]>2022-09-14 03:16:38 +0800
commit1a2cd1e08b5f63814acbddf453be523fcca8bad3 (patch)
tree7c273b6e80695188e840de89a60bd158f9971f00 /common
parent7902849dc021610b0ec16d1130b9515efd1f64b1 (diff)
Remove redundant 's' in time.
Diffstat (limited to 'common')
-rw-r--r--common/retry.go2
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)