fixed typos and pass the correct custom abortCtx

This commit is contained in:
Gani Georgiev committed 2025-03-14 23:09:24 +02:00
1 parent 24c4b63960
commit 04a3dc7bb7
3 files changed
+3329 -3329

No files matched your search

@@ -235,7 +235,7 @@ func (u *Uploader) multipartAbort(ctx context.Context, optReqFuncs ...func(*http
query := url.Values{"uploadId": []string{u.uploadId}}
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, u.S3.URL(u.Key+"?"+query.Encode()), nil)
req, err := http.NewRequestWithContext(abortCtx, http.MethodDelete, u.S3.URL(u.Key+"?"+query.Encode()), nil)
if err != nil {
return err
}