proxyd: remove unused error (#10444)
This commit is contained in:
parent
0a2c79cafa
commit
2f424fd5c6
@ -156,11 +156,7 @@ func NewServer(
|
||||
overrideLims := make(map[string]FrontendRateLimiter)
|
||||
globalMethodLims := make(map[string]bool)
|
||||
for method, override := range rateLimitConfig.MethodOverrides {
|
||||
var err error
|
||||
overrideLims[method] = limiterFactory(time.Duration(override.Interval), override.Limit, method)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if override.Global {
|
||||
globalMethodLims[method] = true
|
||||
|
Loading…
Reference in New Issue
Block a user