From 1a2cd1e08b5f63814acbddf453be523fcca8bad3 Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 14 Sep 2022 03:16:38 +0800 Subject: Remove redundant 's' in time. --- common/retry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3