summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_bucket.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-12-01 04:06:27 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 18:53:05 +0200
commit92f04d8637f78d916a3bcf955fe7cff56f053283 (patch)
treed0723b48ac22a9e65a1e81ad6ac11d11d999d121 /src/rgw/driver/rados/rgw_bucket.cc
parentrgw/rados: add account metadata handler (diff)
downloadceph-92f04d8637f78d916a3bcf955fe7cff56f053283.tar.xz
ceph-92f04d8637f78d916a3bcf955fe7cff56f053283.zip
rgw/rados: add rgwrados::buckets namespace abstraction for cls_user
move cls_user stuff out of RGWSI_User_RADOS into namespace rgwrados::buckets that doesn't depend on rgw_user, so it can also be used for account bucket owners Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_bucket.cc')
-rw-r--r--src/rgw/driver/rados/rgw_bucket.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_bucket.cc b/src/rgw/driver/rados/rgw_bucket.cc
index ce869f399d6..d5304fec499 100644
--- a/src/rgw/driver/rados/rgw_bucket.cc
+++ b/src/rgw/driver/rados/rgw_bucket.cc
@@ -3233,11 +3233,11 @@ int RGWBucketCtl::read_bucket_stats(const rgw_bucket& bucket,
});
}
-int RGWBucketCtl::read_buckets_stats(map<string, RGWBucketEnt>& m,
+int RGWBucketCtl::read_buckets_stats(std::vector<RGWBucketEnt>& buckets,
optional_yield y, const DoutPrefixProvider *dpp)
{
return call([&](RGWSI_Bucket_X_Ctx& ctx) {
- return svc.bucket->read_buckets_stats(ctx, m, y, dpp);
+ return svc.bucket->read_buckets_stats(ctx, buckets, y, dpp);
});
}