summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_period_puller.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2018-08-17 03:30:44 +0200
committerYehuda Sadeh <yehuda@redhat.com>2018-11-08 18:19:29 +0100
commit7c241f2c1d02c1191cd53022cf41943baae91675 (patch)
treeecfa245d3d32d696fa984f8b154ec118d21962b1 /src/rgw/rgw_period_puller.cc
parentrgw: svc: more zone work, add zone_utils, quota services (diff)
downloadceph-7c241f2c1d02c1191cd53022cf41943baae91675.tar.xz
ceph-7c241f2c1d02c1191cd53022cf41943baae91675.zip
rgw: sys_obj service, move zone init to svc_zone
still wip Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_period_puller.cc')
-rw-r--r--src/rgw/rgw_period_puller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_period_puller.cc b/src/rgw/rgw_period_puller.cc
index 0e3a8f90222..0379739bce1 100644
--- a/src/rgw/rgw_period_puller.cc
+++ b/src/rgw/rgw_period_puller.cc
@@ -61,7 +61,7 @@ int RGWPeriodPuller::pull(const std::string& period_id, RGWPeriod& period)
// try to read the period from rados
period.set_id(period_id);
period.set_epoch(0);
- int r = period.init(store->ctx(), store);
+ int r = period.init(store->ctx(), store->svc.sysobj.get());
if (r < 0) {
if (store->svc.zone->is_meta_master()) {
// can't pull if we're the master