mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
Remove NotSupported error redundant with NotImplemented (#5074)
This commit is contained in:
committed by
Nitish Tiwari
parent
b2cbade477
commit
53e133e844
@@ -114,7 +114,6 @@ const (
|
||||
ErrInvalidQueryParams
|
||||
ErrBucketAlreadyOwnedByYou
|
||||
ErrInvalidDuration
|
||||
ErrNotSupported
|
||||
ErrBucketAlreadyExists
|
||||
ErrMetadataTooLarge
|
||||
ErrUnsupportedMetadata
|
||||
@@ -748,8 +747,6 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) {
|
||||
apiErr = ErrEntityTooLarge
|
||||
case ObjectTooSmall:
|
||||
apiErr = ErrEntityTooSmall
|
||||
case NotSupported:
|
||||
apiErr = ErrNotSupported
|
||||
case NotImplemented:
|
||||
apiErr = ErrNotImplemented
|
||||
case PolicyNotFound:
|
||||
|
||||
Reference in New Issue
Block a user