Align some checksum error messages with S3

Signed-off-by: cbornet <cbornet@hotmail.com>
This commit is contained in:
cbornet
2026-09-25 17:44:52 +02:00
parent 69d5e92791
commit 394d9db212
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -668,7 +668,7 @@ var (
func completeMultipartChecksumMismatch(algorithm string) error {
description := "The checksum you specified did not match the calculated checksum."
if algorithm != "" {
description = fmt.Sprintf("The %s checksum you specified did not match the calculated checksum.", algorithm)
description = fmt.Sprintf("The %s you specified did not match the calculated checksum.", algorithm)
}
return fmt.Errorf("%w: %s", errCompleteMultipartChecksumMismatch, description)
}