From: Yehuda Sadeh Date: Wed, 11 Apr 2018 01:12:04 +0000 (-0700) Subject: rgw: cr_rest: write crf returns status when finished X-Git-Tag: v13.1.0~31^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=af4dff8ee0031adece95ac4975579a6cd3c003c2;p=ceph.git rgw: cr_rest: write crf returns status when finished Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_cr_rest.cc b/src/rgw/rgw_cr_rest.cc index bc5a688b4227..d00e54559457 100644 --- a/src/rgw/rgw_cr_rest.cc +++ b/src/rgw/rgw_cr_rest.cc @@ -212,6 +212,7 @@ int RGWStreamWriteHTTPResourceCRF::write(bufferlist& data, bool *io_pending) } yield req->add_send_data(data); } + return req->get_status(); } return 0; }