replication: pass checksum headers to replica (#19834)

This commit is contained in:
Poorna
2024-06-06 02:36:42 -07:00
committed by GitHub
parent 7edc352d23
commit 5aaef9790f
4 changed files with 44 additions and 8 deletions
+1 -1
View File
@@ -1476,7 +1476,7 @@ func (j *BatchJobRequest) load(ctx context.Context, api ObjectLayer, name string
func batchReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo) (putOpts miniogo.PutObjectOptions, err error) {
// TODO: support custom storage class for remote replication
putOpts, err = putReplicationOpts(ctx, "", objInfo)
putOpts, err = putReplicationOpts(ctx, "", objInfo, 0)
if err != nil {
return putOpts, err
}