mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
nit: use %v for error as it is already quoted
This commit is contained in:
parent
bd23f4ff1e
commit
bc3e7b5dca
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue