aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_vacuum.go
diff options
context:
space:
mode:
authorguosj <515878133@qq.com>2022-04-29 11:19:36 +0800
committerguosj <515878133@qq.com>2022-04-29 11:19:36 +0800
commit1a5de362571ff944e5599faee710b4a2ed9f1e9c (patch)
tree4a501801aac89a831fe79914017ad8fc24f29d1e /weed/shell/command_volume_vacuum.go
parent4e97b6146aca2477c8854f5b4711e952c0299f64 (diff)
downloadseaweedfs-1a5de362571ff944e5599faee710b4a2ed9f1e9c.tar.xz
seaweedfs-1a5de362571ff944e5599faee710b4a2ed9f1e9c.zip
fix return value
Diffstat (limited to 'weed/shell/command_volume_vacuum.go')
-rw-r--r--weed/shell/command_volume_vacuum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_vacuum.go b/weed/shell/command_volume_vacuum.go
index fc454c9ff..37b8aa030 100644
--- a/weed/shell/command_volume_vacuum.go
+++ b/weed/shell/command_volume_vacuum.go
@@ -34,7 +34,7 @@ func (c *commandVacuum) Do(args []string, commandEnv *CommandEnv, writer io.Writ
collection := volumeVacuumCommand.String("collection", "", "vacuum this collection")
volumeId := volumeVacuumCommand.Uint("volumeId", 0, "the volume id")
if err = volumeVacuumCommand.Parse(args); err != nil {
- return
+ return nil
}
if err = commandEnv.confirmIsLocked(args); err != nil {