]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix error handling in ListBucketIndexesCR
authorCasey Bodley <cbodley@redhat.com>
Mon, 9 Oct 2017 18:09:40 +0000 (14:09 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 11 Oct 2017 20:14:04 +0000 (16:14 -0400)
commited6340a47f32472bb1f650407dbe739c44bf4bd6
tree3e925e67f23c888f1826c73b8dd4e7e6bbf4c755
parent7f127f54406ef0e08a1265b9bc20433fe3f21523
rgw: fix error handling in ListBucketIndexesCR

the call to set_state() returns 0, when we want operate() to return the
error code instead. use set_cr_error() to do this

Fixes: http://tracker.ceph.com/issues/21735
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.cc