Skip to content

Commit

Permalink
Merge branch 'main' into golintci
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain authored Sep 12, 2023
2 parents 0111454 + 5cb8697 commit 5341516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/provider/kubernetes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func (r *gatewayAPIReconciler) processGRPCRoutes(ctx context.Context, gatewayNam
authFilter, ok := resourceMap.authenFilters[key]
if !ok {
r.log.Error(err, "AuthenticationFilter not found; bypassing rule", "index", i)
continue
}

resourceTree.AuthenticationFilters = append(resourceTree.AuthenticationFilters, authFilter)
Expand All @@ -193,6 +194,7 @@ func (r *gatewayAPIReconciler) processGRPCRoutes(ctx context.Context, gatewayNam
rateLimitFilter, ok := resourceMap.rateLimitFilters[key]
if !ok {
r.log.Error(err, "RateLimitFilter not found; bypassing rule", "index", i)
continue
}

resourceTree.RateLimitFilters = append(resourceTree.RateLimitFilters, rateLimitFilter)
Expand Down

0 comments on commit 5341516

Please sign in to comment.