From cd59a340b57699f5cdc95147d8d77a4a8ce97ef1 Mon Sep 17 00:00:00 2001 From: Zahari Dichev Date: Wed, 6 Nov 2024 10:07:37 +0000 Subject: [PATCH] policy: remove redundant GRPC rule match on default egress GRPCRoute Signed-off-by: Zahari Dichev --- policy-controller/grpc/src/outbound/grpc.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/policy-controller/grpc/src/outbound/grpc.rs b/policy-controller/grpc/src/outbound/grpc.rs index 791191e3eca1f..43159d5a77c00 100644 --- a/policy-controller/grpc/src/outbound/grpc.rs +++ b/policy-controller/grpc/src/outbound/grpc.rs @@ -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 {