aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-14 20:37:05 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-14 20:37:05 -0700
commit48880edc2c4f5076338dbbdf831deea41e073196 (patch)
treece6d0f9b551a03ab0f5791958506f037173f4d9d
parenta0464fc267bb9bd0c0db282a0e4af8c36bbfe089 (diff)
downloadseaweedfs-48880edc2c4f5076338dbbdf831deea41e073196.tar.xz
seaweedfs-48880edc2c4f5076338dbbdf831deea41e073196.zip
volume: fix typo in minFreeSpacePercent option
-rw-r--r--weed/command/volume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index d0fdd2ed1..ba8c1a550 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -92,7 +92,7 @@ var (
volumeFolders = cmdVolume.Flag.String("dir", os.TempDir(), "directories to store data files. dir[,dir]...")
maxVolumeCounts = cmdVolume.Flag.String("max", "7", "maximum numbers of volumes, count[,count]... If set to zero on non-windows OS, the limit will be auto configured.")
volumeWhiteListOption = cmdVolume.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.")
- minFreeSpacePercent = cmdVolume.Flag.String("minFreeSpacePercent ", "0", "minimum free disk space(in percents). If free disk space lower this value - all volumes marks as ReadOnly")
+ minFreeSpacePercent = cmdVolume.Flag.String("minFreeSpacePercent", "0", "minimum free disk space(in percents). If free disk space lower this value - all volumes marks as ReadOnly")
)
func runVolume(cmd *Command, args []string) bool {