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
114114 ErrInvalidQueryParams
115115 ErrBucketAlreadyOwnedByYou
116116 ErrInvalidDuration
117− ErrNotSupported
118117 ErrBucketAlreadyExists
119118 ErrMetadataTooLarge
120119 ErrUnsupportedMetadata
@@ -748,8 +747,6 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) { · 627 unmodified lines
748747 apiErr = ErrEntityTooLarge
749748 case ObjectTooSmall:
750749 apiErr = ErrEntityTooSmall
751− case NotSupported:
752− apiErr = ErrNotSupported
753750 case NotImplemented:
754751 apiErr = ErrNotImplemented
755752 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