Skip to content

Commit

Permalink
storage: remove unused notImplemented type (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
igungor authored Jul 28, 2022
1 parent 8220438 commit 73f4abb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,6 @@ func (s StorageClass) IsGlacier() bool {
return s == "GLACIER"
}

// notImplemented is a structure which is used on the unsupported operations.
type notImplemented struct {
apiType string
method string
}

// Error returns the string representation of Error for notImplemented.
func (e notImplemented) Error() string {
return fmt.Sprintf("%q is not supported on %q storage", e.method, e.apiType)
}

type Metadata map[string]string

// NewMetadata will return an empty metadata object.
Expand Down

0 comments on commit 73f4abb

Please sign in to comment.