Skip to content

Commit

Permalink
Post merge fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Avlasov <yavlasov@google.com>
  • Loading branch information
yanavlasov committed Aug 15, 2024
1 parent bd30f81 commit b9948ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/common/http/conn_manager_impl_test_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -261,15 +261,15 @@ void HttpConnectionManagerImplMixin::setupFilterChain(int num_decoder_filters,
auto factory = createDecoderFilterFactoryCb(
StreamDecoderFilterSharedPtr{decoder_filters_[req * num_decoder_filters + i]});
std::string name = absl::StrCat(req * num_decoder_filters + i);
manager.applyFilterFactoryCb({name, name}, factory);
manager.applyFilterFactoryCb({name}, factory);
applied_filters = true;
}

for (int i = 0; i < num_encoder_filters; i++) {
auto factory = createEncoderFilterFactoryCb(
StreamEncoderFilterSharedPtr{encoder_filters_[req * num_encoder_filters + i]});
std::string name = absl::StrCat(req * num_decoder_filters + i);
manager.applyFilterFactoryCb({name, name}, factory);
manager.applyFilterFactoryCb({name}, factory);
applied_filters = true;
}
return applied_filters;
Expand Down

0 comments on commit b9948ab

Please sign in to comment.