]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: dump prefix unconditionally
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 18 Jul 2014 21:52:48 +0000 (14:52 -0700)
committerSage Weil <sage@redhat.com>
Sun, 20 Jul 2014 03:51:48 +0000 (20:51 -0700)
commit5049fc4c9d6513bc58c3c4464f3de18949ac0aa5
tree6eeafc342707c930ed1b1c438a09df3ff920452d
parent7fdd6d94262d8e6c81d168f5b997b3a5f030e6fa
rgw: dump prefix unconditionally

As part of issue #8858, and to be more in line with S3, dump the Prefix
field when listing bucket even if bucket is empty.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d7209c11251d42227608bc54cc69232ef62ffe80)
src/rgw/rgw_rest_s3.cc