add mountOptions.chunkSizeLimitMB, remove cmdMount.IsDebug

This commit is contained in:
Chris Lu committed 2018-05-28 13:42:25 -07:00
1 parent 8ab7dd9d08
commit 5c4480ec6c
4 files changed
+17 -8

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func runMount(cmd *Command, args []string) bool {
})
err = fs.Serve(c, filesys.NewSeaweedFileSystem(
*mountOptions.filer, *mountOptions.collection, *mountOptions.replication))
*mountOptions.filer, *mountOptions.collection, *mountOptions.replication, *mountOptions.chunkSizeLimitMB))
if err != nil {
fuse.Unmount(*mountOptions.dir)
}