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
4cd2c701f6
commit
47e592b366
@ -251,7 +251,7 @@ func (pool *ResourcePool) saveStatusHistory() {
|
||||
/* update node info */
|
||||
func (pool *ResourcePool) update(node NodeStatus) {
|
||||
pool.poolsMu.Lock()
|
||||
pool.poolsMu.Unlock()
|
||||
defer pool.poolsMu.Unlock()
|
||||
segID := pool.getNodePool(node.ClientID)
|
||||
seg := &pool.pools[segID]
|
||||
if seg.Nodes == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user