When a bucket list is retargeted to an object get, then the object may
not yet have it's bucket set. Ensure the bucket is set on the object.
Fixes: https://tracker.ceph.com/issues/56029
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
} else {
s->object->set_name(s->bucket->get_info().website_conf.get_index_doc());
}
+ s->object->set_bucket(s->bucket.get());
auto getop = new RGWGetObj_ObjStore_SWIFT;
getop->set_get_data(boost::algorithm::equals("GET", s->info.method));