mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: parsing multipart uploadID under site replicated setup (#16048)
continue the fix from #16034
This commit is contained in:
@@ -593,7 +593,7 @@ func setUploadForwardingHandler(h http.Handler) http.Handler {
|
||||
if bucket != "" && object != "" && uploadID != "" {
|
||||
deplID, err := getDeplIDFromUpload(uploadID)
|
||||
if err != nil {
|
||||
writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrNoSuchUpload), r.URL)
|
||||
h.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
remote, self := globalSiteReplicationSys.getPeerForUpload(deplID)
|
||||
|
||||
Reference in New Issue
Block a user