From 8de8172833f11b6411c79c119de2dbdbbe1c189d Mon Sep 17 00:00:00 2001 From: "shiro.lee" <69624924+shiroleeee@users.noreply.github.com> Date: Mon, 8 Dec 2025 23:10:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20the=20If-None-Match=20error=20handling?= =?UTF-8?q?=20in=20the=20complete=5Fmultipart=5Fuploa=E2=80=A6=20(#1065)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: houseme Co-authored-by: loverustfs --- rustfs/src/storage/ecfs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustfs/src/storage/ecfs.rs b/rustfs/src/storage/ecfs.rs index 1874f87c..a3769a31 100644 --- a/rustfs/src/storage/ecfs.rs +++ b/rustfs/src/storage/ecfs.rs @@ -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()); }