From 25eb98ecbcd763f76035152c3acda55dc82cb7a8 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Thu, 19 Dec 2024 14:46:19 +0200 Subject: [PATCH] locator: topology: drop no longer used ip based overloads --- locator/topology.hh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/locator/topology.hh b/locator/topology.hh index 95b5c5eeed..2dec983987 100644 --- a/locator/topology.hh +++ b/locator/topology.hh @@ -323,11 +323,6 @@ public: const sstring& get_datacenter(host_id id) const { return get_location(id).dc; } - // Get datacenter of a node identified by endpoint - // The specified node must exist. - const sstring& get_datacenter(inet_address ep) const { - return get_location(ep).dc; - } // Get rack of this node const sstring& get_rack() const noexcept { @@ -338,11 +333,6 @@ public: const sstring& get_rack(host_id id) const { return get_location(id).rack; } - // Get rack of a node identified by endpoint - // The specified node must exist. - const sstring& get_rack(inet_address ep) const { - return get_location(ep).rack; - } auto get_local_dc_filter() const noexcept { return [ this, local_dc = get_datacenter() ] (auto ep) {