s3 cos copy

This commit is contained in:
withchao 2023-07-12 13:45:45 +08:00
parent e6d502f0ff
commit 75af5447ae

View File

@ -186,7 +186,7 @@ func (c *Cos) CopyObject(ctx context.Context, src string, dst string) (*s3.CopyO
} }
return &s3.CopyObjectInfo{ return &s3.CopyObjectInfo{
Key: dst, Key: dst,
ETag: strings.ReplaceAll(result.ETag, `""`, ""), ETag: strings.ReplaceAll(result.ETag, `"`, ``),
}, nil }, nil
} }