diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-11-04 11:59:08 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-11-04 11:59:08 -0800 |
| commit | ff4189ab2505450913c4fb273365161a80da45bf (patch) | |
| tree | 575e903b7c305401f106d26b4082363bdee33906 | |
| parent | 8dfac6a4cf8d2d21a3a69528136422e7f7a75d32 (diff) | |
| download | seaweedfs-ff4189ab2505450913c4fb273365161a80da45bf.tar.xz seaweedfs-ff4189ab2505450913c4fb273365161a80da45bf.zip | |
go fmt
| -rw-r--r-- | weed/command/filer_export.go | 4 | ||||
| -rw-r--r-- | weed/filesys/wfs.go | 2 |
2 files changed, 3 insertions, 3 deletions
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), } |
