Skip to content

Commit

Permalink
fix WDS test
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain committed Jan 1, 2025
1 parent 20ad468 commit c2eebf2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,7 @@ void MetadataExchangeFilter::setMetadataNotFoundFilterState() {
if (metadata_object) {
ENVOY_LOG(debug, "Metadata found for upstream peer address {}",
upstream_peer->asString());
read_callbacks_->connection().streamInfo().filterState()->setData(
Istio::Common::UpstreamPeer,
std::make_shared<Istio::Common::WorkloadMetadataObject>(metadata_object.value()),
StreamInfo::FilterState::StateType::Mutable,
StreamInfo::FilterState::LifeSpan::Connection);
updatePeer(metadata_object.value());
}
}

Expand Down

0 comments on commit c2eebf2

Please sign in to comment.