File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 25
25
417 : "Expectation failed" ,
26
26
429 : "Too many requests" ,
27
27
500 : "Internal server error" ,
28
- - 1 : "Connection error" ,
28
+ - 1 : "Connection error" ,
29
29
}
30
30
// See https://github.com/github/freno/blob/master/doc/http.md
31
31
httpStatusFrenoMessages = map [int ]string {
@@ -295,7 +295,6 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
295
295
if err != nil {
296
296
// If not told to ignore errors, we'll throttle on HTTP connection issues
297
297
if ! this .migrationContext .IgnoreHTTPErrors {
298
- log .Errorf ("errors occurred during HTTP throttle check: %+v" , err )
299
298
atomic .StoreInt64 (& this .migrationContext .ThrottleHTTPStatusCode , int64 (- 1 ))
300
299
}
301
300
}
@@ -312,7 +311,6 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
312
311
if err != nil {
313
312
// If not told to ignore errors, we'll throttle on HTTP connection issues
314
313
if ! this .migrationContext .IgnoreHTTPErrors {
315
- log .Errorf ("errors occurred during HTTP throttle check: %+v" , err )
316
314
atomic .StoreInt64 (& this .migrationContext .ThrottleHTTPStatusCode , int64 (- 1 ))
317
315
}
318
316
}
You can’t perform that action at this time.
0 commit comments