Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
  • Loading branch information
adisuissa committed Sep 20, 2024
1 parent 2f66c7b commit 3e3dd02
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class GrpcMuxImpl : public GrpcStreamCallbacks<RS>,
}
const LocalInfo::LocalInfo& localInfo() const { return local_info_; }

virtual std::string methodName() const PURE;
virtual absl::string_view methodName() const PURE;

private:
// Helper function to create the grpc_stream_ object.
Expand Down Expand Up @@ -262,7 +262,7 @@ class GrpcMuxDelta : public GrpcMuxImpl<DeltaSubscriptionState, DeltaSubscriptio
const absl::flat_hash_set<std::string>& for_update) override;

private:
std::string methodName() const override {
absl::string_view methodName() const override {
return "envoy.service.discovery.v3.AggregatedDiscoveryService.DeltaAggregatedResources";
}
};
Expand All @@ -279,7 +279,7 @@ class GrpcMuxSotw : public GrpcMuxImpl<SotwSubscriptionState, SotwSubscriptionSt
}

private:
std::string methodName() const override {
absl::string_view methodName() const override {
return "envoy.service.discovery.v3.AggregatedDiscoveryService.StreamAggregatedResources";
}
};
Expand Down

0 comments on commit 3e3dd02

Please sign in to comment.