as part of a rebase work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
}
r = rgw_perf_start(g_ceph_context);
- rgw_rest_init(g_ceph_context, store->zonegroup);
+ rgw_rest_init(g_ceph_context, store, store->zonegroup);
mutex.Lock();
init_timer.cancel_all_events();
static set<string> hostnames_set;
static set<string> hostnames_s3website_set;
-void rgw_rest_init(CephContext *cct, RGWZoneGroup& zone_group)
+void rgw_rest_init(CephContext *cct, RGWRados *store, RGWZoneGroup& zone_group)
{
- zone_group.store->init_host_id();
+ store->init_host_id();
for (const auto& rgw2http : base_rgw_to_http_attrs) {
rgw_to_http_attrs[rgw2http.rgw_attr] = rgw2http.http_attr;
extern string lowercase_dash_http_attr(const string& orig);
-extern void rgw_rest_init(CephContext *cct, RGWZoneGroup& zone_group);
+extern void rgw_rest_init(CephContext *cct, RGWRados *store, RGWZoneGroup& zone_group);
extern void rgw_flush_formatter_and_reset(struct req_state *s,
ceph::Formatter *formatter);