aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/backend/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/backend/backend.go')
-rw-r--r--weed/storage/backend/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/backend/backend.go b/weed/storage/backend/backend.go
index 58633e76a..6ea850543 100644
--- a/weed/storage/backend/backend.go
+++ b/weed/storage/backend/backend.go
@@ -23,7 +23,7 @@ type BackendStorageFile interface {
type BackendStorage interface {
ToProperties() map[string]string
- NewStorageFile(key string, tierInfo *volume_server_pb.VolumeTierInfo) BackendStorageFile
+ NewStorageFile(key string, tierInfo *volume_server_pb.VolumeInfo) BackendStorageFile
CopyFile(f *os.File, attributes map[string]string, fn func(progressed int64, percentage float32) error) (key string, size int64, err error)
DownloadFile(fileName string, key string, fn func(progressed int64, percentage float32) error) (size int64, err error)
DeleteFile(key string) (err error)