aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2/filer.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filer2/filer.go')
-rw-r--r--weed/filer2/filer.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go
index 5f76d6fb0..4ee6f4e50 100644
--- a/weed/filer2/filer.go
+++ b/weed/filer2/filer.go
@@ -8,6 +8,7 @@ import (
"path/filepath"
"time"
"os"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
)
type Filer struct {
@@ -105,8 +106,8 @@ func (f *Filer) CreateEntry(entry *Entry) (error) {
return nil
}
-func (f *Filer) AppendFileChunk(p FullPath, c FileChunk) (err error) {
- return f.store.AppendFileChunk(p, c)
+func (f *Filer) AppendFileChunk(p FullPath, chunks []*filer_pb.FileChunk) (err error) {
+ return f.store.AppendFileChunk(p, chunks)
}
func (f *Filer) FindEntry(p FullPath) (found bool, entry *Entry, err error) {