diff --git a/weed/command/filer_export.go b/weed/command/filer_export.go index d05607bf5..98ccb4d7d 100644 --- a/weed/command/filer_export.go +++ b/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() { diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 9b1b98ebf..423ec54e4 100644 --- a/weed/filesys/wfs.go +++ b/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), }