mirror of
https://github.com/minio/minio.git
synced 2025-01-24 13:13: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
|
||||
}
|
||||
putOpts.Internal = miniogo.AdvancedPutOptions{
|
||||
SourceVersionID: objInfo.VersionID,
|
||||
SourceMTime: objInfo.ModTime,
|
||||
SourceETag: objInfo.ETag,
|
||||
SourceVersionID: objInfo.VersionID,
|
||||
SourceMTime: objInfo.ModTime,
|
||||
SourceETag: objInfo.ETag,
|
||||
ReplicationRequest: true,
|
||||
}
|
||||
return putOpts, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user