|
|
|
@ -144,10 +144,12 @@ func putReplicationOpts(dest replication.Destination, objInfo ObjectInfo) (putOp |
|
|
|
|
ContentType: objInfo.ContentType, |
|
|
|
|
ContentEncoding: objInfo.ContentEncoding, |
|
|
|
|
StorageClass: sc, |
|
|
|
|
ReplicationVersionID: objInfo.VersionID, |
|
|
|
|
Internal: miniogo.AdvancedPutOptions{ |
|
|
|
|
SourceVersionID: objInfo.VersionID, |
|
|
|
|
ReplicationStatus: miniogo.ReplicationStatusReplica, |
|
|
|
|
ReplicationMTime: objInfo.ModTime, |
|
|
|
|
ReplicationETag: objInfo.ETag, |
|
|
|
|
SourceMTime: objInfo.ModTime, |
|
|
|
|
SourceETag: objInfo.ETag, |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
if mode, ok := objInfo.UserDefined[xhttp.AmzObjectLockMode]; ok { |
|
|
|
|
rmode := miniogo.RetentionMode(mode) |
|
|
|
|