mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
batch-repl: Replicate missing metadata and standard headers (#18484)
- Replicate Expires when the source is local or remote - Replicate metadata when the source is remote
This commit is contained in:
@@ -777,6 +777,7 @@ func putReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo) (put
|
||||
UserMetadata: meta,
|
||||
ContentType: objInfo.ContentType,
|
||||
ContentEncoding: objInfo.ContentEncoding,
|
||||
Expires: objInfo.Expires,
|
||||
StorageClass: sc,
|
||||
Internal: minio.AdvancedPutOptions{
|
||||
SourceVersionID: objInfo.VersionID,
|
||||
|
||||
Reference in New Issue
Block a user