1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
This commit is contained in:
Newnius 2020-05-25 21:54:38 +08:00
parent 4cd2c701f6
commit 47e592b366

View File

@ -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 {