diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-02-23 19:23:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-23 19:23:37 -0800 |
| commit | 6834df77a00c4248d69572fd58c08368bd786c73 (patch) | |
| tree | a5026c980dcfecd07aa6286fd4b6949197acd843 | |
| parent | 320637dc7a319fb60e53027db3288a8c93d4cbc2 (diff) | |
| parent | 26f3ab8d4b906edab175baab56db43f4eb8c5e9a (diff) | |
| download | seaweedfs-6834df77a00c4248d69572fd58c08368bd786c73.tar.xz seaweedfs-6834df77a00c4248d69572fd58c08368bd786c73.zip | |
Merge pull request #2701 from guo-sj/fix_bugs_in_return_value
| -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 { |
