fix: allow past retention headers to be copied in batch replication (#17095)

This commit is contained in:
Poorna 2023-04-27 13:43:18 -07:00 committed by GitHub
parent 2448a9e047
commit 98c26df53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1358,6 +1358,7 @@ func batchReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo) (p
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
} }