fix: the If-None-Match error handling in the put_object method when t… (#1034)
Co-authored-by: 0xdx2 <[email protected]> Co-authored-by: loverustfs <[email protected]>
This commit is contained in:
co-authored by
0xdx2
loverustfs
parent
619cc69512
commit
552e95e368
@@ -2819,7 +2819,7 @@ impl S3 for FS {
|
||||
}
|
||||
}
|
||||
Err(err) => {
|
||||
if !is_err_object_not_found(&err) || !is_err_version_not_found(&err) {
|
||||
if !is_err_object_not_found(&err) && !is_err_version_not_found(&err) {
|
||||
return Err(ApiError::from(err).into());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user