mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
fs: All parts except the last part should be of the same size (#5045)
fixes #4881
This commit is contained in:
committed by
Dee Koder
parent
3d2d63f71e
commit
75865efb0e
@@ -341,6 +341,13 @@ func (e InvalidPart) Error() string {
|
||||
return "One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag."
|
||||
}
|
||||
|
||||
// PartsSizeUnequal - All parts except the last part should be of the same size
|
||||
type PartsSizeUnequal struct{}
|
||||
|
||||
func (e PartsSizeUnequal) Error() string {
|
||||
return "All parts except the last part should be of the same size"
|
||||
}
|
||||
|
||||
// PartTooSmall - error if part size is less than 5MB.
|
||||
type PartTooSmall struct {
|
||||
PartSize int64
|
||||
|
||||
Reference in New Issue
Block a user