refactoring

This commit is contained in:
Chris Lu 2020-02-25 12:58:45 -08:00
parent 986d63cd5e
commit 35dde56711

View file

@ -113,7 +113,7 @@ func (s3a *S3ApiServer) CopyObjectPartHandler(w http.ResponseWriter, r *http.Req
} }
// check partID with maximum part ID for multipart objects // check partID with maximum part ID for multipart objects
if partID > 10000 { if partID > globalMaxPartID {
writeErrorResponse(w, ErrInvalidMaxParts, r.URL) writeErrorResponse(w, ErrInvalidMaxParts, r.URL)
return return
} }