mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
gateway-azure: Return right error when Part size is > 100MB (#4652)
This commit is contained in:
committed by
Dee Koder
parent
c3dd7c1f6c
commit
ce7c9c651d
@@ -725,6 +725,8 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) {
|
||||
apiErr = ErrNotImplemented
|
||||
case PolicyNotFound:
|
||||
apiErr = ErrNoSuchBucketPolicy
|
||||
case PartTooBig:
|
||||
apiErr = ErrEntityTooLarge
|
||||
default:
|
||||
apiErr = ErrInternalError
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user