Merge pull request #100287 from pacoxu/structure-log/clean

structure log related: use %v for error as it is already quoted
This commit is contained in:
Kubernetes Prow Robot 2021-06-23 17:19:40 -07:00 committed by GitHub
commit 41c3f5b58d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,