fix:s3 tests fix (#1652)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
LeonWang0735
2026-01-29 19:35:03 +08:00
committed by GitHub
parent 6b15e727f5
commit 022e3dfc21
5 changed files with 43 additions and 11 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ impl HashReader {
let er = EtagReader::new(inner, md5hex.clone());
inner = Box::new(er);
}
} else if !diskable_md5 {
} else if size != Self::SIZE_PRESERVE_LAYER && !diskable_md5 {
let er = EtagReader::new(inner, md5hex.clone());
inner = Box::new(er);
}