Browse Source

go fmt

pull/763/head
Chris Lu 6 years ago
parent
commit
ff4189ab25
  1. 4
      weed/command/filer_export.go
  2. 2
      weed/filesys/wfs.go

4
weed/command/filer_export.go

@ -3,10 +3,10 @@ package command
import (
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/server"
"github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
"github.com/chrislusf/seaweedfs/weed/server"
"github.com/spf13/viper"
)
func init() {

2
weed/filesys/wfs.go

@ -34,7 +34,7 @@ type WFS struct {
func NewSeaweedFileSystem(option *Option) *WFS {
return &WFS{
option: option,
option: option,
listDirectoryEntriesCache: ccache.New(ccache.Configure().MaxSize(6000).ItemsToPrune(100)),
pathToHandleIndex: make(map[string]int),
}

Loading…
Cancel
Save