mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Remove error returned when part sizes are un-equal (#6183)
Since implementing `pwrite` like implementation would require a more complex code than background append implementation, it is better to keep the current code as is and not implement `pwrite` based functionality. Closes #4881
This commit is contained in:
committed by
kannappanr
parent
20480ba3f7
commit
2debe77586
@@ -320,13 +320,6 @@ 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