Skip to content

Commit

Permalink
undo uneeded changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Beyad <abeyad@google.com>
  • Loading branch information
abeyad committed Oct 17, 2023
1 parent 2dc7f89 commit 265ad06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/common/upstream/cluster_manager_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ ClusterManagerImpl::ClusterManagerImpl(
}
async_client_manager_ = std::make_unique<Grpc::AsyncClientManagerImpl>(
*this, tls, time_source_, api, grpc_context.statNames());
const auto& cm_config = bootstrap_.cluster_manager();
const auto& cm_config = bootstrap.cluster_manager();
if (cm_config.has_outlier_detection()) {
const std::string event_log_file_path = cm_config.outlier_detection().event_log_path();
if (!event_log_file_path.empty()) {
Expand All @@ -353,7 +353,7 @@ ClusterManagerImpl::ClusterManagerImpl(
validation_context.dynamicValidationVisitor(), api, main_thread_dispatcher);
}

if (bootstrap_.has_xds_config_tracker_extension()) {
if (bootstrap.has_xds_config_tracker_extension()) {
auto& tracer_factory = Config::Utility::getAndCheckFactory<Config::XdsConfigTrackerFactory>(
bootstrap.xds_config_tracker_extension());
xds_config_tracker_ = tracer_factory.createXdsConfigTracker(
Expand All @@ -362,8 +362,8 @@ ClusterManagerImpl::ClusterManagerImpl(
}

subscription_factory_ = std::make_unique<Config::SubscriptionFactoryImpl>(
local_info_, main_thread_dispatcher, *this, validation_context.dynamicValidationVisitor(),
api, server, makeOptRefFromPtr(xds_resources_delegate_.get()),
local_info, main_thread_dispatcher, *this, validation_context.dynamicValidationVisitor(), api,
server, makeOptRefFromPtr(xds_resources_delegate_.get()),
makeOptRefFromPtr(xds_config_tracker_.get()));
}

Expand Down

0 comments on commit 265ad06

Please sign in to comment.