aboutsummaryrefslogtreecommitdiff
path: root/weed/server/volume_server.go
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-02-07 09:00:03 +0800
committerbingoohuang <bingoo.huang@gmail.com>2021-02-07 09:00:03 +0800
commit94ea3bd3a56dd16583c33a3baec17a952b58c6bb (patch)
tree5b072ae5139f5324f3c8387a11fe27f9da3c5e6b /weed/server/volume_server.go
parent5138d3954fea88cc2131f0d86b14e3a777de29d7 (diff)
downloadseaweedfs-94ea3bd3a56dd16583c33a3baec17a952b58c6bb.tar.xz
seaweedfs-94ea3bd3a56dd16583c33a3baec17a952b58c6bb.zip
renaming NeedleMapType to NeedleMapKind
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 468f75890..0443309fb 100644
--- a/weed/server/volume_server.go
+++ b/weed/server/volume_server.go
@@ -24,7 +24,7 @@ type VolumeServer struct {
guard *security.Guard
grpcDialOption grpc.DialOption
- needleMapKind storage.NeedleMapType
+ needleMapKind storage.NeedleMapKind
FixJpgOrientation bool
ReadRedirect bool
compactionBytePerSecond int64
@@ -39,7 +39,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
port int, publicUrl string,
folders []string, maxCounts []int, minFreeSpacePercents []float32,
idxFolder string,
- needleMapKind storage.NeedleMapType,
+ needleMapKind storage.NeedleMapKind,
masterNodes []string, pulseSeconds int,
dataCenter string, rack string,
whiteList []string,