style: format code with gofmt
This commit is contained in:
@@ -54,11 +54,11 @@ func (r *RateLimitedRPC) CallWithRetry(ctx context.Context, method string, args
|
||||
case <-ctx.Done():
|
||||
return nil, pkgerrors.WrapContextError(ctx.Err(), "RateLimitedRPC.CallWithRetry.rateLimitBackoff",
|
||||
map[string]interface{}{
|
||||
"method": method,
|
||||
"attempt": i + 1,
|
||||
"maxRetries": r.retryCount,
|
||||
"backoffTime": backoffTime.String(),
|
||||
"lastError": err.Error(),
|
||||
"method": method,
|
||||
"attempt": i + 1,
|
||||
"maxRetries": r.retryCount,
|
||||
"backoffTime": backoffTime.String(),
|
||||
"lastError": err.Error(),
|
||||
})
|
||||
case <-time.After(backoffTime):
|
||||
// Continue to next retry
|
||||
|
||||
Reference in New Issue
Block a user