diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-02-25 12:58:45 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-02-25 12:58:45 -0800 |
| commit | 35dde5671186b3fcfd6e8c743064257627f47a77 (patch) | |
| tree | aa1dc3a29789b8853f05e797b0e1bae6daa7999f | |
| parent | 986d63cd5e1e9cccfcd1a2382ede0e936ff0747a (diff) | |
| download | seaweedfs-35dde5671186b3fcfd6e8c743064257627f47a77.tar.xz seaweedfs-35dde5671186b3fcfd6e8c743064257627f47a77.zip | |
refactoring
| -rw-r--r-- | weed/s3api/s3api_object_copy_handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_object_copy_handlers.go b/weed/s3api/s3api_object_copy_handlers.go index b18ab329c..b8fb3f6a4 100644 --- a/weed/s3api/s3api_object_copy_handlers.go +++ b/weed/s3api/s3api_object_copy_handlers.go @@ -113,7 +113,7 @@ func (s3a *S3ApiServer) CopyObjectPartHandler(w http.ResponseWriter, r *http.Req } // check partID with maximum part ID for multipart objects - if partID > 10000 { + if partID > globalMaxPartID { writeErrorResponse(w, ErrInvalidMaxParts, r.URL) return } |
