Browse Source

Merge branch 'master' of https://github.com/chrislusf/seaweedfs

original_weed_mount
chrislu 3 years ago
parent
commit
abe7214c1f
  1. 2
      weed/shell/command_volume_vacuum.go

2
weed/shell/command_volume_vacuum.go

@ -32,7 +32,7 @@ func (c *commandVacuum) Do(args []string, commandEnv *CommandEnv, writer io.Writ
volumeVacuumCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError) volumeVacuumCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
garbageThreshold := volumeVacuumCommand.Float64("garbageThreshold", 0.3, "vacuum when garbage is more than this limit") garbageThreshold := volumeVacuumCommand.Float64("garbageThreshold", 0.3, "vacuum when garbage is more than this limit")
if err = volumeVacuumCommand.Parse(args); err != nil { if err = volumeVacuumCommand.Parse(args); err != nil {
return nil
return
} }
if err = commandEnv.confirmIsLocked(args); err != nil { if err = commandEnv.confirmIsLocked(args); err != nil {

Loading…
Cancel
Save