Skip to content

Commit

Permalink
validate
Browse files Browse the repository at this point in the history
  • Loading branch information
SantoDE committed Apr 8, 2024
1 parent b18c87b commit 6280ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/kubernetes/gateway/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ func createURLRewriteMiddleware(matches []gatev1.HTTPRouteMatch, filter *gatev1.
},
}, nil
default:
return nil, errors.New(fmt.Sprintf("Unsupported Filter Path Type %s", filter.Path.Type))
return nil, fmt.Errorf("unsupported Filter Path Type %s", filter.Path.Type)
}
}

Expand Down

0 comments on commit 6280ba8

Please sign in to comment.