mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
bugfix
This commit is contained in:
parent
092853d44c
commit
139d621824
@ -247,6 +247,7 @@ func (pool *ResourcePool) saveStatusHistory() {
|
|||||||
|
|
||||||
/* update node info */
|
/* update node info */
|
||||||
func (pool *ResourcePool) update(node NodeStatus) {
|
func (pool *ResourcePool) update(node NodeStatus) {
|
||||||
|
log.Info("Update", node.ClientID)
|
||||||
pool.poolsMu.Lock()
|
pool.poolsMu.Lock()
|
||||||
defer pool.poolsMu.Unlock()
|
defer pool.poolsMu.Unlock()
|
||||||
segID := pool.getNodePool(node.ClientID)
|
segID := pool.getNodePool(node.ClientID)
|
||||||
|
Loading…
Reference in New Issue
Block a user