Skip to content

Commit

Permalink
fix nits
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 c7a241c commit c2ff015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/router/scoped_config_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ScopedRouteInfo {
ScopedRouteInfo(envoy::api::v2::ScopedRouteConfiguration&& config_proto,
ConfigConstSharedPtr&& route_config);

ConfigConstSharedPtr routeConfig() const { return route_config_; }
const ConfigConstSharedPtr& routeConfig() const { return route_config_; }
const ScopeKey& scopeKey() const { return scope_key_; }
const envoy::api::v2::ScopedRouteConfiguration& configProto() const { return config_proto_; }
const std::string& scopeName() const { return config_proto_.name(); }
Expand Down

0 comments on commit c2ff015

Please sign in to comment.