[FIX] Fix not enough arguments problem

This commit is contained in:
bay1ts 2017-12-04 17:48:20 +08:00
parent 120f037aa5
commit 8b26744a31

View File

@ -86,14 +86,14 @@ func NewCmdInstallStatus() cli.Command {
for _,v:=range tasks {
for _,vs:=range v.Status{
if vs.Status=="start"||vs.Status=="create"{
Status(v.ID)
Status(v.ID,nil)
return nil
}
}
}
}else {
Status(taskID)
Status(taskID,nil)
}
return nil
},