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