Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
Signed-off-by: aaron-ai <yangkun.ayk@alibaba-inc.com>
  • Loading branch information
aaron-ai committed Jan 22, 2020
1 parent f0b4c76 commit 05ba93a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions include/envoy/upstream/cluster_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ class CdsApi {
*/
virtual const std::string versionInfo() const PURE;

/**
* Update watch set of cluster resources interested.
*/
virtual void updateClusterInterest(const std::set<std::string>& update_to_these_names) PURE;

/**
* Add watch set of cluster resources interested.
*/
Expand Down
4 changes: 0 additions & 4 deletions source/common/upstream/cds_api_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ class CdsApiImpl : public CdsApi,
}
const std::string versionInfo() const override { return system_version_info_; }

void updateClusterInterest(const std::set<std::string>& update_to_these_names) override {
subscription_->updateResourceInterest(update_to_these_names);
}

void addToClusterInterest(const std::set<std::string>& add_these_names) override {
subscription_->addToResourceInterest(add_these_names);
}
Expand Down

0 comments on commit 05ba93a

Please sign in to comment.