mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 21:47:24 +08:00
refactoring
This commit is contained in:
@@ -34,4 +34,4 @@ func openMetaStore(dbFolder string) filer2.FilerStore {
|
||||
|
||||
return store
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -117,6 +117,8 @@ func (wfs *WFS) Root() (fs.Node, error) {
|
||||
return wfs.root, nil
|
||||
}
|
||||
|
||||
var _ = filer_pb.FilerClient(&WFS{})
|
||||
|
||||
func (wfs *WFS) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error {
|
||||
|
||||
err := pb.WithCachedGrpcClient(func(grpcConnection *grpc.ClientConn) error {
|
||||
|
Reference in New Issue
Block a user