diff --git a/source/common/access_log/access_log_impl.h b/source/common/access_log/access_log_impl.h index a70cf9c5854e..845c9fd7347f 100644 --- a/source/common/access_log/access_log_impl.h +++ b/source/common/access_log/access_log_impl.h @@ -291,10 +291,7 @@ class AccessLogFactory { auto& factory = Config::Utility::getAndCheckFactory>( config.extension_filter()); - auto typed_filter_config = Config::Utility::translateToFactoryConfig( - config.extension_filter(), context.messageValidationVisitor(), factory); - - return factory.createFilter(*typed_filter_config, context); + return factory.createFilter(config.extension_filter(), context); } /** diff --git a/source/common/local_reply/local_reply.cc b/source/common/local_reply/local_reply.cc index 90f87f946a0c..605125764385 100644 --- a/source/common/local_reply/local_reply.cc +++ b/source/common/local_reply/local_reply.cc @@ -78,8 +78,8 @@ class ResponseMapper { BodyFormatter*& final_formatter) const { // If not matched, just bail out. if (filter_ == nullptr || - !filter_->evaluate(stream_info, request_headers, response_headers, response_trailers, - AccessLog::AccessLogType::NotSet)) { + !filter_->evaluate({&request_headers, &response_headers, &response_trailers}, + stream_info)) { return false; }