The user was not being passed to the created bucket. This means that,
in some operations, radosgw-admin was crashing trying to de-reference
the user.
Fixes: https://tracker.ceph.com/issues/56810
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
static int init_bucket(rgw::sal::User* user, const rgw_bucket& b,
std::unique_ptr<rgw::sal::Bucket>* bucket)
{
- return store->get_bucket(dpp(), nullptr, b, bucket, null_yield);
+ return store->get_bucket(dpp(), user, b, bucket, null_yield);
}
static int init_bucket(rgw::sal::User* user,