mirror of
https://github.com/ceph/ceph
synced 2025-02-17 07:57:44 +00:00
rgw: fix return code for prepare_get_obj() on the fs storage
This commit is contained in:
parent
577095b35b
commit
d9ff7e09fc
@ -469,7 +469,7 @@ int RGWFS::prepare_get_obj(std::string& bucket, std::string& obj,
|
||||
if (mod_ptr) {
|
||||
if (st.st_mtime < *mod_ptr) {
|
||||
err->num = "304";
|
||||
err->code = "PreconditionFailed";
|
||||
err->code = "NotModified";
|
||||
goto done_err;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user