diff options
Diffstat (limited to 'src/rgw/rgw_rest_log.cc')
-rw-r--r-- | src/rgw/rgw_rest_log.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rgw/rgw_rest_log.cc b/src/rgw/rgw_rest_log.cc index e4101d6b52e..f8891402a8a 100644 --- a/src/rgw/rgw_rest_log.cc +++ b/src/rgw/rgw_rest_log.cc @@ -404,7 +404,7 @@ void RGWOp_BILog_List::execute() { return; } } else { /* !bucket_name.empty() */ - http_ret = store->getRados()->get_bucket_info(*s->sysobj_ctx, tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); + http_ret = store->getRados()->get_bucket_info(store->svc(), tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); if (http_ret < 0) { ldpp_dout(s, 5) << "could not get bucket info for bucket=" << bucket_name << dendl; return; @@ -497,7 +497,7 @@ void RGWOp_BILog_Info::execute() { return; } } else { /* !bucket_name.empty() */ - http_ret = store->getRados()->get_bucket_info(*s->sysobj_ctx, tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); + http_ret = store->getRados()->get_bucket_info(store->svc(), tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); if (http_ret < 0) { ldpp_dout(s, 5) << "could not get bucket info for bucket=" << bucket_name << dendl; return; @@ -561,7 +561,7 @@ void RGWOp_BILog_Delete::execute() { return; } } else { /* !bucket_name.empty() */ - http_ret = store->getRados()->get_bucket_info(*s->sysobj_ctx, tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); + http_ret = store->getRados()->get_bucket_info(store->svc(), tenant_name, bucket_name, bucket_info, NULL, s->yield, NULL); if (http_ret < 0) { ldpp_dout(s, 5) << "could not get bucket info for bucket=" << bucket_name << dendl; return; |