From 75af5447ae864cb1f8dab269a25bab2f3f5c83b8 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Wed, 12 Jul 2023 13:45:45 +0800 Subject: [PATCH] s3 cos copy --- pkg/common/db/s3/cos/cos.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/s3/cos/cos.go b/pkg/common/db/s3/cos/cos.go index 365f6b153..d355b2f0b 100644 --- a/pkg/common/db/s3/cos/cos.go +++ b/pkg/common/db/s3/cos/cos.go @@ -186,7 +186,7 @@ func (c *Cos) CopyObject(ctx context.Context, src string, dst string) (*s3.CopyO } return &s3.CopyObjectInfo{ Key: dst, - ETag: strings.ReplaceAll(result.ETag, `""`, ""), + ETag: strings.ReplaceAll(result.ETag, `"`, ``), }, nil }