mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Fix PutObject Trailing checksum (#20456)
PutObject would verify trailing checksums, but not store them. Fixes #20455
This commit is contained in:
@@ -1960,6 +1960,7 @@ func (api objectAPIHandlers) PutObjectHandler(w http.ResponseWriter, r *http.Req
|
||||
return
|
||||
}
|
||||
opts.IndexCB = idxCb
|
||||
opts.WantChecksum = hashReader.Checksum()
|
||||
|
||||
if opts.PreserveETag != "" ||
|
||||
r.Header.Get(xhttp.IfMatch) != "" ||
|
||||
|
||||
Reference in New Issue
Block a user