aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-07-01 01:21:14 -0700
committerChris Lu <chris.lu@gmail.com>2021-07-01 01:21:14 -0700
commitb6240903986b9069b31a94df5e11594a1d1f2504 (patch)
tree7401356437cc148879d1e3257964aaa4eddc5bbc /weed/server/volume_server.go
parent215b1695623a4ebcba5f45488a05d19857436a6f (diff)
downloadseaweedfs-b6240903986b9069b31a94df5e11594a1d1f2504.tar.xz
seaweedfs-b6240903986b9069b31a94df5e11594a1d1f2504.zip
go fmt
Diffstat (limited to 'weed/server/volume_server.go')
-rw-r--r--weed/server/volume_server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go
index 74c5f72c6..0d765a253 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -28,7 +28,7 @@ type VolumeServer struct {
needleMapKind storage.NeedleMapKind
FixJpgOrientation bool
- ReadMode string
+ ReadMode string
compactionBytePerSecond int64
metricsAddress string
metricsIntervalSec int
@@ -72,7 +72,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
rack: rack,
needleMapKind: needleMapKind,
FixJpgOrientation: fixJpgOrientation,
- ReadMode: readMode,
+ ReadMode: readMode,
grpcDialOption: security.LoadClientTLS(util.GetViper(), "grpc.volume"),
compactionBytePerSecond: int64(compactionMBPerSecond) * 1024 * 1024,
fileSizeLimitBytes: int64(fileSizeLimitMB) * 1024 * 1024,