diff options
author | Daniel Gryniewicz <dang@redhat.com> | 2019-09-12 16:57:06 +0200 |
---|---|---|
committer | Daniel Gryniewicz <dang@redhat.com> | 2019-09-26 15:37:57 +0200 |
commit | 54b470facffe8251dc37b2020e771d4d061cb2ae (patch) | |
tree | fc4f979a3637328ac64f41864e92feccbf637329 /src/rgw/rgw_rest_log.cc | |
parent | mgr/dashboard: Display the "destroyed" state in OSD list (#30514) (diff) | |
download | ceph-54b470facffe8251dc37b2020e771d4d061cb2ae.tar.xz ceph-54b470facffe8251dc37b2020e771d4d061cb2ae.zip |
Project Zipper - Bucketlist
Implement and do the initial conversion to the BucketList API for
Zipper. This invloves doing portions of the User and Bucket API as
well, so enable BucketList to be used.
This is not the final version; the API needs to be pushed further down
into RGWRados code, but this gets the API layer complete.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
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; |