aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-28 15:23:46 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-28 15:23:46 -0800
commitd475c89fccf1f020e6f552a5923a688a56e0f1ed (patch)
tree1bd71ad666d5a95cc8e816f23f91fb731f1559fd /weed/command/mount_std.go
parent19295600f94fd18d09323cb17e89c115c811fb52 (diff)
downloadseaweedfs-d475c89fccf1f020e6f552a5923a688a56e0f1ed.tar.xz
seaweedfs-d475c89fccf1f020e6f552a5923a688a56e0f1ed.zip
go fmt
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 26c59a1c7..83ae870e6 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -169,16 +169,16 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
}
seaweedFileSystem := filesys.NewSeaweedFileSystem(&filesys.Option{
- MountDirectory: dir,
- FilerAddress: filer,
- FilerGrpcAddress: filerGrpcAddress,
- GrpcDialOption: grpcDialOption,
- FilerMountRootPath: mountRoot,
- Collection: *option.collection,
- Replication: *option.replication,
- TtlSec: int32(*option.ttlSec),
- ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024,
- ConcurrentWriters: *option.concurrentWriters,
+ MountDirectory: dir,
+ FilerAddress: filer,
+ FilerGrpcAddress: filerGrpcAddress,
+ GrpcDialOption: grpcDialOption,
+ FilerMountRootPath: mountRoot,
+ Collection: *option.collection,
+ Replication: *option.replication,
+ TtlSec: int32(*option.ttlSec),
+ ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024,
+ ConcurrentWriters: *option.concurrentWriters,
CacheDir: *option.cacheDir,
CacheSizeMB: *option.cacheSizeMB,
DataCenter: *option.dataCenter,