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