diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-03-21 19:21:26 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-09-22 18:49:07 +0200 |
commit | 958578aec1b0193e9215f91bac54725d1bbc5b39 (patch) | |
tree | 5b21055b12942d55ff4ea2af1c9acaee0ddc58e0 /src/rgw/rgw_admin.cc | |
parent | rgw/sal: list_buckets() returns RGWBucketEnts (diff) | |
download | ceph-958578aec1b0193e9215f91bac54725d1bbc5b39.tar.xz ceph-958578aec1b0193e9215f91bac54725d1bbc5b39.zip |
rgw/sal: StoreBucket no longer wraps RGWBucketEnt
`sal::Bucket` no longer needs to wrap `RGWBucketEnt` to support user
bucket listings, so can be represented by `RGWBucketInfo` alone. the
bucket stats interfaces that relied on RGWBucketEnt internally now
return their result as either `RGWBucketEnt` or `RGWStorageStats`
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_admin.cc')
-rw-r--r-- | src/rgw/rgw_admin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 0a0bb6277a8..b2c2e5c262a 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -8683,7 +8683,7 @@ next: cerr << "ERROR: could not init bucket: " << cpp_strerror(-ret) << std::endl; return -ret; } - ret = bucket->sync_user_stats(dpp(), null_yield); + ret = bucket->sync_user_stats(dpp(), null_yield, nullptr); if (ret < 0) { cerr << "ERROR: could not sync bucket stats: " << cpp_strerror(-ret) << std::endl; |