History

Remove NotSupported error redundant with NotImplemented (#5074)

Harshavardhana committed 9 years ago

Commit 53e133e1 parent b2cbade4 files · +0 −19Browse files

Showing the changes to cmd/api-errors.go (1 of 4 files). Show all

Unified · Split

cmd/api-errors.go+0−3
@@ -114,7 +114,6 @@ const ( · 113 unmodified lines
114 ErrInvalidQueryParams114 ErrInvalidQueryParams
115 ErrBucketAlreadyOwnedByYou115 ErrBucketAlreadyOwnedByYou
116 ErrInvalidDuration116 ErrInvalidDuration
117 ErrNotSupported
118 ErrBucketAlreadyExists117 ErrBucketAlreadyExists
119 ErrMetadataTooLarge118 ErrMetadataTooLarge
120 ErrUnsupportedMetadata119 ErrUnsupportedMetadata
@@ -748,8 +747,6 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) { · 627 unmodified lines
748 apiErr = ErrEntityTooLarge747 apiErr = ErrEntityTooLarge
749 case ObjectTooSmall:748 case ObjectTooSmall:
750 apiErr = ErrEntityTooSmall749 apiErr = ErrEntityTooSmall
751 case NotSupported:
752 apiErr = ErrNotSupported
753 case NotImplemented:750 case NotImplemented:
754 apiErr = ErrNotImplemented751 apiErr = ErrNotImplemented
755 case PolicyNotFound:752 case PolicyNotFound:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t