1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00
This commit is contained in:
2020-04-12 10:44:32 +08:00
parent 6714dd5779
commit f398523ba6
4 changed files with 25 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ func (pool *ResourcePool) update(node NodeStatus) {
return
}
log.Info(node.Version, "!=", pool.versions[node.ClientID])
log.Debug(node.Version, "!=", pool.versions[node.ClientID])
pool.counter++
status, ok := pool.nodes[node.ClientID]
@@ -208,3 +208,7 @@ func (pool *ResourcePool) detach(GPU string, job string) {
delete(list, job)
}
}
func (pool *ResourcePool) getBindings() map[string]map[string]bool{
return pool.bindings
}