weed mount add options for collection and replication

This commit is contained in:
Chris Lu committed 2018-05-28 13:24:48 -07:00
1 parent d0b238d2db
commit 8ab7dd9d08
5 files changed
+22 -12

No files matched your search

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