From fce2d4e57e6f712672e62e8c63468c6b89878c6c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 15 Jul 2025 09:41:34 -0700 Subject: [PATCH] Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- weed/s3api/chunked_reader_v4.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3api/chunked_reader_v4.go b/weed/s3api/chunked_reader_v4.go index 53ea8e768..350f4e14f 100644 --- a/weed/s3api/chunked_reader_v4.go +++ b/weed/s3api/chunked_reader_v4.go @@ -465,7 +465,7 @@ func (cr *s3ChunkedReader) Read(buf []byte) (n int, err error) { // getChunkSignature - get chunk signature. func (cr *s3ChunkedReader) getChunkSignature(hashedChunk string) string { // Calculate string to sign. - stringToSign := signV4Algorithm + "-PAYLOAD" + "\n" + + stringToSign := signV4ChunkedAlgorithm + "\n" + cr.seedDate.Format(iso8601Format) + "\n" + getScope(cr.seedDate, cr.region) + "\n" + cr.seedSignature + "\n" +