fix return value

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

No files matched your search

+1 -1
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 {