diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-10-03 20:13:24 +0200 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-11-07 18:18:17 +0100 |
commit | 5e344c7c51e06e26bf3f06252d1b306ebb16dda8 (patch) | |
tree | 3c6254114e41b55d90bcb81a8f08bf8daddbce88 /src/rgw/driver/daos/rgw_sal_daos.cc | |
parent | rgw/sal: move User::create_bucket() to Bucket::create() (diff) | |
download | ceph-5e344c7c51e06e26bf3f06252d1b306ebb16dda8.tar.xz ceph-5e344c7c51e06e26bf3f06252d1b306ebb16dda8.zip |
rgw/sal: remove ZoneGroup::get_endpoint()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/daos/rgw_sal_daos.cc')
-rw-r--r-- | src/rgw/driver/daos/rgw_sal_daos.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/rgw/driver/daos/rgw_sal_daos.cc b/src/rgw/driver/daos/rgw_sal_daos.cc index a6aacf024b3..8be268fe17c 100644 --- a/src/rgw/driver/daos/rgw_sal_daos.cc +++ b/src/rgw/driver/daos/rgw_sal_daos.cc @@ -800,19 +800,6 @@ int DaosStore::initialize(CephContext* cct, const DoutPrefixProvider* dpp) { return ret; } -const std::string& DaosZoneGroup::get_endpoint() const { - if (!group.endpoints.empty()) { - return group.endpoints.front(); - } else { - // use zonegroup's master zone endpoints - auto z = group.zones.find(group.master_zone); - if (z != group.zones.end() && !z->second.endpoints.empty()) { - return z->second.endpoints.front(); - } - } - return empty; -} - bool DaosZoneGroup::placement_target_exists(std::string& target) const { return !!group.placement_targets.count(target); } |