mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update
This commit is contained in:
@@ -59,6 +59,7 @@ func (jm *JobManager) start() {
|
||||
log.Info("mock ", jm.job.Name, ", wait ", duration)
|
||||
time.Sleep(time.Second * time.Duration(duration))
|
||||
jm.returnResource([]TaskStatus{})
|
||||
jm.scheduler.UpdateProgress(jm.job, Finished)
|
||||
log.Info("JobMaster exited ", jm.job.Name)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user