aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-07-22 01:15:11 -0700
committerChris Lu <chris.lu@gmail.com>2018-07-22 01:15:11 -0700
commit0655151b8c55ea3c34dd59277da1599279740164 (patch)
tree01d4c5963dfb0bd39fbfa4f94efa8bc0c804f1b6 /weed/command/mount_std.go
parent6319d84f42fba2a1c1617c4d2603adac4ea57301 (diff)
downloadseaweedfs-0655151b8c55ea3c34dd59277da1599279740164.tar.xz
seaweedfs-0655151b8c55ea3c34dd59277da1599279740164.zip
go fmt
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 8f4d8dc36..92dcc9008 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -60,7 +60,7 @@ func runMount(cmd *Command, args []string) bool {
mountRoot := *mountOptions.filerMountRootPath
if mountRoot != "/" && strings.HasSuffix(mountRoot, "/") {
- mountRoot = mountRoot[0: len(mountRoot)-1]
+ mountRoot = mountRoot[0 : len(mountRoot)-1]
}
err = fs.Serve(c, filesys.NewSeaweedFileSystem(&filesys.Option{