fix job scheduler
This commit is contained in:
parent
966870200b
commit
86c0520076
|
@ -88,8 +88,9 @@ func startTask(id int64, action *models.TaskAction) {
|
||||||
err = action.Update("pause")
|
err = action.Update("pause")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Errorf("cannot update task[%d] action to 'pause': %v", id, err)
|
logger.Errorf("cannot update task[%d] action to 'pause': %v", id, err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
waitings, err := models.WaitingHostList(id)
|
waitings, err := models.WaitingHostList(id)
|
||||||
|
|
Loading…
Reference in New Issue