aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-05 15:27:10 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-05 15:27:10 -0700
commit45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc (patch)
treed122e72706f1d9130002798583ac81882974dd32 /weed/command/volume.go
parent03c2f0350904bc2e69faf5f9a552092826df9ae3 (diff)
downloadseaweedfs-45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc.tar.xz
seaweedfs-45a9d852d3d10bdaaf2a5358e4a4d823a7edbfcc.zip
go fmt
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 dd44505de..89cf930f2 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -52,7 +52,7 @@ type VolumeServerOptions struct {
memProfile *string
compactionMBPerSecond *int
fileSizeLimitMB *int
- minFreeSpacePercent []float32
+ minFreeSpacePercent []float32
}
func init() {
@@ -88,7 +88,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 {