]> git.apps.os.sepia.ceph.com Git - ceph.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>
Fri, 27 Oct 2017 13:48:37 +0000 (09:48 -0400)
commitfdec63a28e24e056938139591e5799a0e3693c20
treeb069402f6d5fcc1589494de5f7966e3bb46a9757
parente711cf319fa12ec7b03edda769685353e24cbfcb
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>
(cherry picked from commit ed6340a47f32472bb1f650407dbe739c44bf4bd6)
src/rgw/rgw_data_sync.cc