diff options
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 2f885d0af..6a89c654e 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -1,15 +1,15 @@ package filesys import ( + "bazil.org/fuse" "bazil.org/fuse/fs" "fmt" - "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" - "github.com/karlseguin/ccache" - "sync" - "bazil.org/fuse" "github.com/chrislusf/seaweedfs/weed/glog" + "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" "github.com/chrislusf/seaweedfs/weed/util" + "github.com/karlseguin/ccache" "strings" + "sync" ) type WFS struct { @@ -30,7 +30,7 @@ type WFS struct { func NewSeaweedFileSystem(filerGrpcAddress string, filerMountRootPath string, collection string, replication string, ttlSec int32, chunkSizeLimitMB int, dataCenter string) *WFS { if filerMountRootPath != "/" && strings.HasSuffix(filerMountRootPath, "/") { - filerMountRootPath = filerMountRootPath[0:len(filerMountRootPath)-1] + filerMountRootPath = filerMountRootPath[0 : len(filerMountRootPath)-1] } return &WFS{ filerGrpcAddress: filerGrpcAddress, |
