aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-20 12:50:40 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-20 12:50:40 -0700
commitde5ca9b25809e846026784b6721cfc76471c87bf (patch)
tree20a8a6a1b6dee4b698f2e2f74c652e898a248114 /weed/server/volume_server.go
parent3080c197e3e75dfd48ce2bda08c46d1f6423e65c (diff)
downloadseaweedfs-de5ca9b25809e846026784b6721cfc76471c87bf.tar.xz
seaweedfs-de5ca9b25809e846026784b6721cfc76471c87bf.zip
remove fixJpgOrientation
Diffstat (limited to 'weed/server/volume_server.go')
-rw-r--r--weed/server/volume_server.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go
index 62fbc19a7..367e39d8a 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -25,7 +25,6 @@ type VolumeServer struct {
grpcDialOption grpc.DialOption
needleMapKind storage.NeedleMapType
- FixJpgOrientation bool
ReadRedirect bool
compactionBytePerSecond int64
MetricsAddress string
@@ -40,7 +39,6 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
masterNodes []string, pulseSeconds int,
dataCenter string, rack string,
whiteList []string,
- fixJpgOrientation bool,
readRedirect bool,
compactionMBPerSecond int,
fileSizeLimitMB int,
@@ -61,7 +59,6 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
dataCenter: dataCenter,
rack: rack,
needleMapKind: needleMapKind,
- FixJpgOrientation: fixJpgOrientation,
ReadRedirect: readRedirect,
grpcDialOption: security.LoadClientTLS(util.GetViper(), "grpc.volume"),
compactionBytePerSecond: int64(compactionMBPerSecond) * 1024 * 1024,