s3 cos copy

test-v3dev1
withchao 1 year ago
parent e6d502f0ff
commit 75af5447ae

@ -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
}

Loading…
Cancel
Save