diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-24 00:37:59 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-24 00:37:59 -0800 |
| commit | abe7214c1f77c10c681dbb749f16138540045978 (patch) | |
| tree | 4dd42a443ab6a571ac7220be484208bb32620bc3 | |
| parent | b93d57da31fa09f724e38865258ada0fe414076a (diff) | |
| parent | 6834df77a00c4248d69572fd58c08368bd786c73 (diff) | |
| download | seaweedfs-abe7214c1f77c10c681dbb749f16138540045978.tar.xz seaweedfs-abe7214c1f77c10c681dbb749f16138540045978.zip | |
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
| -rw-r--r-- | weed/shell/command_volume_vacuum.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.go index a09bf5d56..61b1f06fa 100644 --- a/weed/shell/command_volume_vacuum.go +++ b/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) garbageThreshold := volumeVacuumCommand.Float64("garbageThreshold", 0.3, "vacuum when garbage is more than this limit") if err = volumeVacuumCommand.Parse(args); err != nil { - return nil + return } if err = commandEnv.confirmIsLocked(args); err != nil { |
