Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: lmajercak-wish <[email protected]>
  • Loading branch information
lmajercak-wish committed Jun 30, 2021
1 parent 01de07f commit 2d18c1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/service/ratelimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ func (this *service) constructLimitsToCheck(request *pb.RateLimitRequest, ctx co
logger.Debugf("got descriptor: %s", strings.Join(descriptorEntryStrings, ","))
}
limitsToCheck[i] = snappedConfig.GetLimit(ctx, request.Domain, descriptor)

if logger.IsLevelEnabled(logger.DebugLevel) {
if limitsToCheck[i] == nil {
logger.Debugf("descriptor does not match any limit, no limits applied")
Expand Down

0 comments on commit 2d18c1c

Please sign in to comment.