summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_config.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2018-09-06 15:42:42 +0200
committerYehuda Sadeh <yehuda@redhat.com>2018-11-08 18:19:29 +0100
commit346af50d0b3f756c16678bdea3bde294d5c754c1 (patch)
tree2c96619c815b6058e7a4a0728a171f661cb9a7af /src/rgw/rgw_rest_config.cc
parentrgw: add missing files (diff)
downloadceph-346af50d0b3f756c16678bdea3bde294d5c754c1.tar.xz
ceph-346af50d0b3f756c16678bdea3bde294d5c754c1.zip
rgw: rgw_zone api adjustments
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_rest_config.cc')
-rw-r--r--src/rgw/rgw_rest_config.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rgw/rgw_rest_config.cc b/src/rgw/rgw_rest_config.cc
index 5b6a1cbd38b..ef184776b19 100644
--- a/src/rgw/rgw_rest_config.cc
+++ b/src/rgw/rgw_rest_config.cc
@@ -22,11 +22,13 @@
#include "common/errno.h"
#include "include/ceph_assert.h"
+#include "services/svc_zone.h"
+
#define dout_context g_ceph_context
#define dout_subsys ceph_subsys_rgw
void RGWOp_ZoneGroupMap_Get::execute() {
- http_ret = zonegroup_map.read(g_ceph_context, store);
+ http_ret = zonegroup_map.read(g_ceph_context, store->svc.sysobj);
if (http_ret < 0) {
dout(5) << "failed to read zone_group map" << dendl;
}
@@ -54,7 +56,7 @@ void RGWOp_ZoneGroupMap_Get::send_response() {
}
void RGWOp_ZoneConfig_Get::send_response() {
- const RGWZoneParams& zone_params = store->get_zone_params();
+ const RGWZoneParams& zone_params = store->svc.zone->get_zone_params();
set_req_state_err(s, http_ret);
dump_errno(s);