From 73f4abbb87275b418e289a3f991eeec85273891b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0brahim=20G=C3=BCng=C3=B6r?= Date: Thu, 28 Jul 2022 10:28:19 +0300 Subject: [PATCH] storage: remove unused `notImplemented` type (#476) --- storage/storage.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/storage/storage.go b/storage/storage.go index 83a7391eb..129e891ca 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -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.