aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/mount.go2
-rw-r--r--weed/command/mount_std.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index 0912a51ba..613066951 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -1,9 +1,9 @@
package command
import (
- "strings"
"fmt"
"strconv"
+ "strings"
)
type MountOptions struct {
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{