mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
fix: Adds quotes for object Etags
This commit is contained in:
@@ -368,10 +368,9 @@ func putObjects(client *s3.Client, objs []string, bucket string) ([]types.Object
|
||||
return nil, err
|
||||
}
|
||||
k := key
|
||||
etag := strings.Trim(*res.ETag, `"`)
|
||||
contents = append(contents, types.Object{
|
||||
Key: &k,
|
||||
ETag: &etag,
|
||||
ETag: res.ETag,
|
||||
StorageClass: types.ObjectStorageClassStandard,
|
||||
Size: &size,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user