From 05ba93a48e781e9c5813c0e12a462c5ecc32d673 Mon Sep 17 00:00:00 2001 From: aaron-ai Date: Wed, 15 Jan 2020 15:04:48 +0800 Subject: [PATCH] Remove useless code Signed-off-by: aaron-ai --- include/envoy/upstream/cluster_manager.h | 5 ----- source/common/upstream/cds_api_impl.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/include/envoy/upstream/cluster_manager.h b/include/envoy/upstream/cluster_manager.h index e75c1344cfc0..94ec77d81ec0 100644 --- a/include/envoy/upstream/cluster_manager.h +++ b/include/envoy/upstream/cluster_manager.h @@ -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& update_to_these_names) PURE; - /** * Add watch set of cluster resources interested. */ diff --git a/source/common/upstream/cds_api_impl.h b/source/common/upstream/cds_api_impl.h index 0df7163ffcf0..eab0bb818679 100644 --- a/source/common/upstream/cds_api_impl.h +++ b/source/common/upstream/cds_api_impl.h @@ -35,10 +35,6 @@ class CdsApiImpl : public CdsApi, } const std::string versionInfo() const override { return system_version_info_; } - void updateClusterInterest(const std::set& update_to_these_names) override { - subscription_->updateResourceInterest(update_to_these_names); - } - void addToClusterInterest(const std::set& add_these_names) override { subscription_->addToResourceInterest(add_these_names); }