]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix list buckets limit
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 26 Apr 2013 05:22:35 +0000 (22:22 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 26 Apr 2013 19:10:14 +0000 (12:10 -0700)
commita8b1bfa1ccbb66d73b7b97ecc714c6c24effd7c4
tree714bf2d31f4f7274ebc5f779ee5f92ccdcab9a06
parentf2df87625cbc0f08d3e4ab4619f2ef642d9bdad8
rgw: fix list buckets limit

There was an issue when limit was being set, we didn't
break from the iterating loop if limit was reached. Also,
S3 does not enforce any limit, so keep that behavior.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.h