Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Zhuang <stevenzzz@google.com>
  • Loading branch information
stevenzzzz committed Aug 22, 2019
1 parent 4ab7005 commit bf703fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/common/router/scoped_rds.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ class ScopedRdsConfigSubscription : public Envoy::Config::DeltaConfigSubscriptio
ScopedRdsConfigSubscription& parent_;
std::string scope_name_;
std::unique_ptr<RdsRouteConfigProviderImpl> route_provider_;
// This handle_ is owned by the route config provider's RDS subscrption, when the helper
// This handle_ is owned by the route config provider's RDS subscription, when the helper
// destructs, the handle is deleted as well.
Common::CallbackHandle* rds_update_callback_handle_;
};

// Adds or updates scopes, create a new RDS provider for each resource, if an exception is thrown
// during updating, the exception message is collected via the exception_msgs vector.
// during updating, the exception message is collected via the exception messages vector.
// Returns true if any scope updated, false otherwise.
bool addOrUpdateScopes(const Protobuf::RepeatedPtrField<envoy::api::v2::Resource>& resources,
Init::Manager& init_manager, const std::string& version_info,
Expand Down

0 comments on commit bf703fc

Please sign in to comment.