mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update
This commit is contained in:
@@ -89,8 +89,8 @@ func fastBestFit(nodes []NodeStatus, tasks []Task) Allocation {
|
|||||||
best = &nodes[i]
|
best = &nodes[i]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Info(task, " choose ", best.ClientID)
|
|
||||||
if best == nil {
|
if best == nil {
|
||||||
|
log.Info(task, " choose ", best.ClientID)
|
||||||
allocation.Flags["valid"] = false
|
allocation.Flags["valid"] = false
|
||||||
break
|
break
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user