mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-10 13:58:24 +01:00
fix return value
This commit is contained in:
1 parent
4e97b6146a
commit
1a5de36257
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user