Remove NotSupported error redundant with NotImplemented (#5074)

This commit is contained in:
Harshavardhana
2017-10-16 19:41:06 -07:00
committed by Nitish Tiwari
parent b2cbade477
commit 53e133e844
4 changed files with 0 additions and 19 deletions

View File

@@ -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: