1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2020-05-04 20:14:25 +08:00
parent 898ba6c54c
commit 0eff273344

View File

@@ -11,8 +11,8 @@ import (
) )
type JobManager struct { type JobManager struct {
scheduler Scheduler scheduler Scheduler
job Job job Job
jobStatus JobStatus jobStatus JobStatus
resources []NodeStatus resources []NodeStatus
killedFlag bool killedFlag bool
@@ -259,6 +259,7 @@ func (jm *JobManager) status() MsgJobStatus {
} }
for i, task := range jm.job.Tasks { for i, task := range jm.job.Tasks {
log.Info(i, jm.job.Tasks)
taskStatus := jm.jobStatus.tasks[task.Name] taskStatus := jm.jobStatus.tasks[task.Name]
spider := Spider{} spider := Spider{}
spider.Method = "GET" spider.Method = "GET"