add missing request-id from DeleteObject events (#10623)

fixes #10621
This commit is contained in:
Harshavardhana
2020-10-02 13:36:13 -07:00
committed by GitHub
parent d1ed1da8c6
commit 8e7c00f3d4
4 changed files with 43 additions and 17 deletions

View File

@@ -2726,7 +2726,7 @@ func (api objectAPIHandlers) DeleteObjectHandler(w http.ResponseWriter, r *http.
}
// http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html
objInfo, err := deleteObject(ctx, objectAPI, api.CacheAPI(), bucket, object, r, opts)
objInfo, err := deleteObject(ctx, objectAPI, api.CacheAPI(), bucket, object, w, r, opts)
if err != nil {
switch err.(type) {
case BucketNotFound: