mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
Add restore-status header for multipart objects (#16508)
This commit is contained in:
1 parent
f713436dd0
commit
cea2ca8c8e
3 files changed
+12
-10
No files matched your search
@@ -3051,7 +3051,7 @@ func (api objectAPIHandlers) PostRestoreObjectHandler(w http.ResponseWriter, r *
|
||||
}
|
||||
}
|
||||
// set or upgrade restore expiry
|
||||
restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now(), rreq.Days)
|
||||
restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now().UTC(), rreq.Days)
|
||||
metadata := cloneMSS(objInfo.UserDefined)
|
||||
|
||||
// update self with restore metadata
|
||||
|
||||
Reference in new issue
Block a user