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 fd00839 commit 362846a
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 @@ -2046,7 +2046,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 362846a

Please sign in to comment.