diff options
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index f64dccb54..f2ec349bc 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -73,7 +73,8 @@ func runMount(cmd *Command, args []string) bool { filerAddress := fmt.Sprintf("%s:%d", hostnameAndPort[0], filerGrpcPort) err = fs.Serve(c, filesys.NewSeaweedFileSystem( - filerAddress, *mountOptions.collection, *mountOptions.replication, *mountOptions.chunkSizeLimitMB)) + filerAddress, *mountOptions.collection, *mountOptions.replication, int32(*mountOptions.ttlSec), + *mountOptions.chunkSizeLimitMB)) if err != nil { fuse.Unmount(*mountOptions.dir) } |
