mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-02-09 09:17:28 +08:00
weed mount add options for collection and replication
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user