mirror of
https://github.com/minio/minio.git
synced 2025-11-22 02:35:30 -05:00
Cleanup and update the PR with the master branch.
This commit is contained in:
committed by
Harshavardhana
parent
a76556ec1b
commit
0dab038858
@@ -351,7 +351,7 @@ func (l *gcsGateway) ListObjects(bucket string, prefix string, marker string, de
|
||||
Bucket: attrs.Bucket,
|
||||
ModTime: attrs.Updated,
|
||||
Size: attrs.Size,
|
||||
MD5Sum: hex.EncodeToString(attrs.MD5),
|
||||
ETag: hex.EncodeToString(attrs.MD5),
|
||||
UserDefined: attrs.Metadata,
|
||||
ContentType: attrs.ContentType,
|
||||
ContentEncoding: attrs.ContentEncoding,
|
||||
@@ -443,7 +443,7 @@ func fromGCSObjectInfo(attrs *storage.ObjectAttrs) ObjectInfo {
|
||||
Bucket: attrs.Bucket,
|
||||
ModTime: attrs.Updated,
|
||||
Size: attrs.Size,
|
||||
MD5Sum: hex.EncodeToString(attrs.MD5),
|
||||
ETag: hex.EncodeToString(attrs.MD5),
|
||||
UserDefined: attrs.Metadata,
|
||||
ContentType: attrs.ContentType,
|
||||
ContentEncoding: attrs.ContentEncoding,
|
||||
@@ -691,7 +691,7 @@ func (l *gcsGateway) PutObjectPart(bucket string, key string, uploadID string, p
|
||||
return PartInfo{
|
||||
PartNumber: partID,
|
||||
LastModified: info.ModTime,
|
||||
ETag: info.MD5Sum,
|
||||
ETag: info.ETag,
|
||||
Size: info.Size,
|
||||
}, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user