Skip to content

Commit e5d530c

Browse files
committed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

source/extensions/filters/http/aws_lambda/aws_lambda_filter_config_factory.cc

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ AWSLambdaFilterConfigFactory::createFilterFactoryFromProtoTyped(
2424
// the upstream code from attempting to access the method. https://github.com/envoyproxy/envoy/issues/26653
2525
auto chain = std::make_unique<Extensions::Common::Aws::DefaultCredentialsProviderChain>(
2626
server_context.api(), absl::nullopt /* ServerFactoryContextOptRef context */,
27+
server_context.singletonManager(),
2728
// We pass an empty string if we don't have a region
2829
proto_config.has_service_account_credentials() ? proto_config.service_account_credentials().region() : "",
2930
nullptr);

source/extensions/filters/http/aws_lambda/aws_lambda_filter_config_factory.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AWSLambdaFilterConfigFactory
3535
const std::string &stats_prefix,
3636
Server::Configuration::FactoryContext &context) override;
3737

38-
absl::StatusOr<Router::RouteSpecificFilterConfigConstSharedPtr>
38+
absl::StatusOr<Router::RouteSpecificFilterConfigConstSharedPtr>
3939
createRouteSpecificFilterConfigTyped(
4040
const envoy::config::filter::http::aws_lambda::v2::AWSLambdaPerRoute &,
4141
Server::Configuration::ServerFactoryContext &,

0 commit comments

Comments
 (0)