fix job scheduler

This commit is contained in:
UlricQin 2020-11-24 16:26:54 +08:00
parent 966870200b
commit 86c0520076
1 changed files with 2 additions and 1 deletions

View File

@ -88,8 +88,9 @@ func startTask(id int64, action *models.TaskAction) {
err = action.Update("pause")
if err != nil {
logger.Errorf("cannot update task[%d] action to 'pause': %v", id, err)
return
}
return
}
waitings, err := models.WaitingHostList(id)