mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
lifecycle:Fix args passed to determine expiry header (#11567)
This commit is contained in:
parent
289e1d8b2a
commit
55037e6e54
@ -190,6 +190,7 @@ func setObjectHeaders(w http.ResponseWriter, objInfo ObjectInfo, rs *HTTPRangeSp
|
||||
ModTime: objInfo.ModTime,
|
||||
IsLatest: objInfo.IsLatest,
|
||||
DeleteMarker: objInfo.DeleteMarker,
|
||||
SuccessorModTime: objInfo.SuccessorModTime,
|
||||
})
|
||||
if !expiryTime.IsZero() {
|
||||
w.Header()[xhttp.AmzExpiration] = []string{
|
||||
|
Loading…
Reference in New Issue
Block a user