mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
fix ObjectInfo returned by CopyObject (#11377)
erasure CopyObject was returning old metadata
This commit is contained in:
parent
1e53bf2789
commit
c82aef0a56
@ -101,7 +101,7 @@ func (er erasureObjects) CopyObject(ctx context.Context, srcBucket, srcObject, d
|
||||
modTime = dstOpts.MTime
|
||||
fi.ModTime = dstOpts.MTime
|
||||
}
|
||||
|
||||
fi.Metadata = srcInfo.UserDefined
|
||||
srcInfo.UserDefined["etag"] = srcInfo.ETag
|
||||
|
||||
// Update `xl.meta` content on each disks.
|
||||
|
Loading…
Reference in New Issue
Block a user