Skip to content

Commit

Permalink
policy: remove redundant GRPC rule match on default egress GRPCRoute
Browse files Browse the repository at this point in the history
Signed-off-by: Zahari Dichev <[email protected]>
  • Loading branch information
zaharidichev committed Nov 6, 2024
1 parent d1bd0da commit cd59a34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion policy-controller/grpc/src/outbound/grpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ pub(crate) fn default_outbound_egress_route(
kind: Some(meta::metadata::Kind::Default(name.to_string())),
});
let rules = vec![outbound::grpc_route::Rule {
matches: vec![grpc_route::GrpcRouteMatch::default()],
backends: Some(outbound::grpc_route::Distribution {
kind: Some(outbound::grpc_route::distribution::Kind::FirstAvailable(
outbound::grpc_route::distribution::FirstAvailable {
Expand Down

0 comments on commit cd59a34

Please sign in to comment.