mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update
This commit is contained in:
parent
733d28f577
commit
5874832309
@ -151,7 +151,7 @@ func (pool *ResourcePool) init(conf Configuration) {
|
|||||||
if len(nodes) == 0 {
|
if len(nodes) == 0 {
|
||||||
left = append(left, pool.batchJobs[0])
|
left = append(left, pool.batchJobs[0])
|
||||||
pool.batchJobs = pool.batchJobs[1:]
|
pool.batchJobs = pool.batchJobs[1:]
|
||||||
log.Info("cannot find a valid allocation, remove a job randomly")
|
log.Info("cannot find a valid allocation, remove a job randomly: ", left[len(left)-1].Name)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
for i, task := range job.Tasks {
|
for i, task := range job.Tasks {
|
||||||
|
Loading…
Reference in New Issue
Block a user