From 6e8bd1681953d9af975883cb81a8efb4a259afd3 Mon Sep 17 00:00:00 2001 From: Eugeniy Kozlov Date: Fri, 28 May 2021 14:19:24 +0300 Subject: [PATCH] freespace params fix --- weed/command/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/server.go b/weed/command/server.go index d0020d33b..d2bd6466e 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -245,7 +245,7 @@ func runServer(cmd *Command, args []string) bool { // start volume server if *isStartingVolumeServer { - minFreeSpaces := util.MustParseMinFreeSpace(*minFreeSpace, *minFreeSpacePercent) + minFreeSpaces := util.MustParseMinFreeSpace(*volumeMinFreeSpace, *volumeMinFreeSpacePercent) go serverOptions.v.startVolumeServer(*volumeDataFolders, *volumeMaxDataVolumeCounts, *serverWhiteListOption, minFreeSpaces) }