aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-07-21 17:39:10 -0700
committerChris Lu <chris.lu@gmail.com>2018-07-21 17:39:10 -0700
commit7e2031b18f3f78688ff596921b5a6b8ebb36986b (patch)
tree9fdba6135eee3235e02025c09aa164dd233e5d53 /weed/filesys/wfs.go
parentdc8dd8b486b9ae7ffc70c4563d99da4d54bbc236 (diff)
downloadseaweedfs-7e2031b18f3f78688ff596921b5a6b8ebb36986b.tar.xz
seaweedfs-7e2031b18f3f78688ff596921b5a6b8ebb36986b.zip
go fmt
Diffstat (limited to 'weed/filesys/wfs.go')
-rw-r--r--weed/filesys/wfs.go10
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,