mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 07:50:35 +08:00
go fmt
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user