mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 07:37:56 +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