mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user