This commit is contained in:
Chris Lu
2018-07-22 01:15:11 -07:00
parent 6319d84f42
commit 0655151b8c
7 changed files with 12 additions and 12 deletions

View File

@@ -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{