mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
fix: allow past retention headers to be copied in batch replication (#17095)
This commit is contained in:
parent
2448a9e047
commit
98c26df53e
@ -1355,9 +1355,10 @@ func batchReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo) (p
|
|||||||
return putOpts, err
|
return putOpts, err
|
||||||
}
|
}
|
||||||
putOpts.Internal = miniogo.AdvancedPutOptions{
|
putOpts.Internal = miniogo.AdvancedPutOptions{
|
||||||
SourceVersionID: objInfo.VersionID,
|
SourceVersionID: objInfo.VersionID,
|
||||||
SourceMTime: objInfo.ModTime,
|
SourceMTime: objInfo.ModTime,
|
||||||
SourceETag: objInfo.ETag,
|
SourceETag: objInfo.ETag,
|
||||||
|
ReplicationRequest: true,
|
||||||
}
|
}
|
||||||
return putOpts, nil
|
return putOpts, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user