diff --git a/weed/storage/backend/backend.go b/weed/storage/backend/backend.go index 4b54d89dd..05a7fe84f 100644 --- a/weed/storage/backend/backend.go +++ b/weed/storage/backend/backend.go @@ -19,7 +19,6 @@ type BackendStorageFile interface { io.Closer GetStat() (datSize int64, modTime time.Time, err error) String() string - Instantiate(src *os.File) error } type BackendStorage interface { diff --git a/weed/storage/backend/s3_backend/s3_backend.go b/weed/storage/backend/s3_backend/s3_backend.go index 0f384aa9c..458a9ca72 100644 --- a/weed/storage/backend/s3_backend/s3_backend.go +++ b/weed/storage/backend/s3_backend/s3_backend.go @@ -157,10 +157,3 @@ func (s3backendStorageFile S3BackendStorageFile) String() string { return s3backendStorageFile.key } -func (s3backendStorageFile *S3BackendStorageFile) GetName() string { - return "s3" -} - -func (s3backendStorageFile S3BackendStorageFile) Instantiate(src *os.File) error { - panic("implement me") -}