Browse Source
Merge pull request #2097 from ekozlov-search/server_freediskspace
pull/2104/head
Chris Lu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
} |
|
|
|
|
|
|
|