verify maxPartID in object options helpers (#17015)

This commit is contained in:
jiuker
2023-04-19 13:34:30 +08:00
committed by GitHub
parent 224d9a752f
commit 8a81e317d6
3 changed files with 8 additions and 0 deletions

View File

@@ -112,3 +112,6 @@ var errIAMNotInitialized = errors.New("IAM sub-system is being initialized, plea
// error returned when upload id not found
var errUploadIDNotFound = errors.New("Specified Upload ID is not found")
// error returned when PartNumber is greater than the maximum allowed 10000 parts
var errInvalidMaxParts = errors.New("Part number is greater than the maximum allowed 10000 parts")