diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-05-09 23:18:02 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-05-09 23:18:02 -0700 |
| commit | 9f345da20fc7a0d3766df62d1e6f49062373588d (patch) | |
| tree | 1cc49c9f2f2ec364595ffe56f169b31c5127bebc /weed/filesys/wfs.go | |
| parent | 942c2cbd7b504813e242ad78837ac3561f9a2130 (diff) | |
| download | seaweedfs-9f345da20fc7a0d3766df62d1e6f49062373588d.tar.xz seaweedfs-9f345da20fc7a0d3766df62d1e6f49062373588d.zip | |
mv filer proto to filer_pb
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 583cd34f3..da50ae4a4 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -4,7 +4,7 @@ import ( "bazil.org/fuse/fs" "fmt" "google.golang.org/grpc" - "github.com/chrislusf/seaweedfs/weed/filer" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" ) type WFS struct { @@ -21,7 +21,7 @@ func (wfs *WFS) Root() (fs.Node, error) { return &Dir{Path: "/", wfs: wfs}, nil } -func (wfs *WFS) withFilerClient(fn func(filer.SeaweedFilerClient) error) error { +func (wfs *WFS) withFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error { grpcConnection, err := grpc.Dial(wfs.filer, grpc.WithInsecure()) if err != nil { @@ -29,7 +29,7 @@ func (wfs *WFS) withFilerClient(fn func(filer.SeaweedFilerClient) error) error { } defer grpcConnection.Close() - client := filer.NewSeaweedFilerClient(grpcConnection) + client := filer_pb.NewSeaweedFilerClient(grpcConnection) return fn(client) } |
