1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 22:31:55 +00:00
This commit is contained in:
Newnius 2020-06-15 15:17:52 +08:00
parent 3405fb8262
commit d750c30fb2

View File

@ -239,7 +239,7 @@ func (allocator *Allocator) GA(nodes []NodeStatus, tasks []Task, useBestFit bool
}
}
}
//fmt.Println(evaluatue(allocation))
//fmt.Println(evaluate(allocation))
//fmt.Println(allocation)
cnt := 0
@ -249,7 +249,7 @@ func (allocator *Allocator) GA(nodes []NodeStatus, tasks []Task, useBestFit bool
}
}
if cnt != len(allocation.Tasks) && allocation.Flags["valid"] {
log.Warn("1:", cnt, len(allocation.Tasks))
log.Warn("factory:", cnt, len(allocation.Tasks))
}
return allocation