From bc3e7b5dca3707850744fe854f33e0dd04dc0cfb Mon Sep 17 00:00:00 2001 From: pacoxu Date: Tue, 16 Mar 2021 17:42:43 +0800 Subject: [PATCH] nit: use %v for error as it is already quoted --- pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go b/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go index 8cd00a4d44b..336f80a5134 100644 --- a/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go +++ b/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go @@ -70,7 +70,7 @@ func (expBackoff *ExponentialBackoff) Update(err *error) { } func (expBackoff *ExponentialBackoff) GenerateNoRetriesPermittedMsg(operationName string) string { - return fmt.Sprintf("Operation for %q failed. No retries permitted until %v (durationBeforeRetry %v). Error: %q", + return fmt.Sprintf("Operation for %q failed. No retries permitted until %v (durationBeforeRetry %v). Error: %v", operationName, expBackoff.lastErrorTime.Add(expBackoff.durationBeforeRetry), expBackoff.durationBeforeRetry,