]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: bucket link: simplify use of get bucket info.
authorMarcus Watts <mwatts@redhat.com>
Thu, 23 Aug 2018 17:03:15 +0000 (13:03 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Tue, 30 Jul 2019 08:30:45 +0000 (14:00 +0530)
commit31f01da633bad327502558db59b7caf57d4fefe5
tree819243bcac611383b71d95161f1e099fa9694a06
parentedc18a56d2fbc1c6b8e4e8ae950ab354c7df40f0
rgw: bucket link: simplify use of get bucket info.

The bucket link command was doing an extra bucket
get info call because it needed attributes.  Revised
::init so that attributes could optionally be requested,
and eliminate now unnecessary call.

Fixes: http://tracker.ceph.com/issues/35885
Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h