fix return value

This commit is contained in:
guosj
2022-04-29 11:19:36 +08:00
parent 4e97b6146a
commit 1a5de36257
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {