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>
This commit is contained in:
shiro.lee
2025-12-08 23:10:20 +08:00
committed by GitHub
parent 7c98c62d60
commit 8de8172833

View File

@@ -3902,7 +3902,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());
}