Skip to content

Commit 8de8172

Browse files
shiroleeeehousemeloverustfs
authored
fix: the If-None-Match error handling in the complete_multipart_uploa… (#1065)
Co-authored-by: houseme <housemecn@gmail.com> Co-authored-by: loverustfs <hello@rustfs.com>
1 parent 7c98c62 commit 8de8172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustfs/src/storage/ecfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3902,7 +3902,7 @@ impl S3 for FS {
39023902
}
39033903
}
39043904
Err(err) => {
3905-
if !is_err_object_not_found(&err) || !is_err_version_not_found(&err) {
3905+
if !is_err_object_not_found(&err) && !is_err_version_not_found(&err) {
39063906
return Err(ApiError::from(err).into());
39073907
}
39083908

0 commit comments

Comments
 (0)