Skip to content

Commit

Permalink
Fix package import for HTTPRouteFilterExtensionRef
Browse files Browse the repository at this point in the history
Caused by merging envoyproxy#791
without rebasing envoyproxy#816

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Dec 19, 2022
1 parent f420fe1 commit cfe2c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/kubernetes/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ func addHTTPRouteIndexers(ctx context.Context, mgr manager.Manager) error {
for _, rule := range httproute.Spec.Rules {
for i := range rule.Filters {
filter := rule.Filters[i]
if filter.Type == gwapiv1a2.HTTPRouteFilterExtensionRef {
if filter.Type == gwapiv1b1.HTTPRouteFilterExtensionRef {
if err := gatewayapi.ValidateHTTPRouteFilter(&filter); err != nil {
filters = append(filters,
types.NamespacedName{
Expand Down

0 comments on commit cfe2c28

Please sign in to comment.