fix: remove unnecessary replication checks (#21569)

This commit is contained in:
M Alvee
2025-09-08 10:43:13 -07:00
committed by GitHub
parent 07c3a429bf
commit ae71d76901
3 changed files with 6 additions and 9 deletions

View File

@@ -420,9 +420,6 @@ func putOptsFromHeaders(ctx context.Context, hdr http.Header, metadata map[strin
MTime: mtime,
PreserveETag: etag,
}
if _, ok := hdr[xhttp.MinIOSourceReplicationRequest]; ok {
op.ReplicationRequest = true
}
return op, nil
}
// default case of passing encryption headers and UserDefined metadata to backend