X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Frgw%2Frgw_sal_motr.cc;h=de18ba9447c9418cf36f7f58429e51baf16b0e73;hb=aee94f6923ba628a85d855d0c5316d0da78bfa2a;hp=cc7869627a66669a75c4856b5cd8232ba232d16f;hpb=27f45121cc74e31203777ad565f78d8aad9b92a2;p=ceph.git diff --git a/ceph/src/rgw/rgw_sal_motr.cc b/ceph/src/rgw/rgw_sal_motr.cc index cc7869627..de18ba944 100644 --- a/ceph/src/rgw/rgw_sal_motr.cc +++ b/ceph/src/rgw/rgw_sal_motr.cc @@ -1081,13 +1081,11 @@ bool MotrZoneGroup::placement_target_exists(std::string& target) const return !!group.placement_targets.count(target); } -int MotrZoneGroup::get_placement_target_names(std::set& names) const +void MotrZoneGroup::get_placement_target_names(std::set& names) const { for (const auto& target : group.placement_targets) { names.emplace(target.second.name); } - - return 0; } int MotrZoneGroup::get_placement_tier(const rgw_placement_rule& rule,