]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: cr_rest: write crf returns status when finished
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 11 Apr 2018 01:12:04 +0000 (18:12 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 25 Apr 2018 16:03:53 +0000 (09:03 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_cr_rest.cc

index bc5a688b4227bb24df9d3909533f79665f648af4..d00e5455945792c2c637062c4d57e8a54a53f97a 100644 (file)
@@ -212,6 +212,7 @@ int RGWStreamWriteHTTPResourceCRF::write(bufferlist& data, bool *io_pending)
       }
       yield req->add_send_data(data);
     }
+    return req->get_status();
   }
   return 0;
 }