aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-05-28 13:24:48 -0700
committerChris Lu <chris.lu@gmail.com>2018-05-28 13:24:48 -0700
commit8ab7dd9d08dbf326046bfcf0c1fac5d171600a7d (patch)
tree31740591e8c648bbee74f652cc44c5f637e4413a /weed/command/mount_std.go
parentd0b238d2db81093b7f02141d4f70b446fcd0b2cd (diff)
downloadseaweedfs-8ab7dd9d08dbf326046bfcf0c1fac5d171600a7d.tar.xz
seaweedfs-8ab7dd9d08dbf326046bfcf0c1fac5d171600a7d.zip
weed mount add options for collection and replication
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index b3f038cc2..fcf663e1c 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -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)
}