Skip to content

Commit b267c43

Browse files
committed
fix(xds): handle decode error on name field of listener
Signed-off-by: hanshal101 <hanshalmehta10@gmail.com>
1 parent b43997f commit b267c43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

orion-configuration/src/config/network_filters/http_connection_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ mod envoy_conversions {
11211121
.with_node("typed_per_filter_config")?;
11221122
let response_header_modifier = HeaderModifier::new(response_headers_to_remove, response_headers_to_add);
11231123
Ok(Self {
1124-
name: name.clone(),
1124+
name,
11251125
route_match,
11261126
action,
11271127
typed_per_filter_config,

orion-xds/src/xds/resources/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
use std::net::SocketAddr;
2222

2323
use futures::Stream;
24+
use orion_data_plane_api::envoy_data_plane_api::envoy;
2425
use orion_data_plane_api::envoy_data_plane_api::{
2526
envoy::{
26-
self,
2727
config::{
2828
cluster::v3::{
2929
cluster::{ClusterDiscoveryType, DiscoveryType, LbPolicy},

0 commit comments

Comments
 (0)