rgw: cr_rest: write crf returns status when finished

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2018-04-10 18:12:04 -07:00
parent 6caa02b29a
commit af4dff8ee0

View 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;
}