aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-13 22:29:52 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-13 22:29:52 -0800
commit7c52a3594219fa0957e39a32917cffd0ea479f72 (patch)
tree0ebfdc1de6ec9a3c116cb2995475947f1ace164e /weed/command/volume.go
parentc45d6a865b837f4e5c1763884bc61a3fe2ff18e8 (diff)
downloadseaweedfs-7c52a3594219fa0957e39a32917cffd0ea479f72.tar.xz
seaweedfs-7c52a3594219fa0957e39a32917cffd0ea479f72.zip
refactor
Diffstat (limited to 'weed/command/volume.go')
-rw-r--r--weed/command/volume.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 3c3699732..02d8eb50c 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -219,8 +219,8 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v
volumeServer := weed_server.NewVolumeServer(volumeMux, publicVolumeMux,
*v.ip, *v.port, *v.publicUrl,
- v.folders, v.folderMaxLimits, v.minFreeSpacePercents,
- *v.idxFolder, diskType,
+ v.folders, v.folderMaxLimits, v.minFreeSpacePercents, diskType,
+ *v.idxFolder,
volumeNeedleMapKind,
strings.Split(masters, ","), 5, *v.dataCenter, *v.rack,
v.whiteList,