| 38 | } |
| 39 | |
| 40 | type retryWare struct { |
| 41 | next RoundTripper |
| 42 | maxRetries int |
| 43 | incrementRetriedRequestWeight bool |
| 44 | retriesCount prometheus.Histogram |
| 45 | } |
| 46 | |
| 47 | // RoundTrip implements http.RoundTripper |
| 48 | func (r retryWare) RoundTrip(req Request) (*http.Response, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected