mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
refactoring
This commit is contained in:
parent
986d63cd5e
commit
35dde56711
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue