mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
bugfix
This commit is contained in:
@@ -60,7 +60,9 @@ func (collector *Collector) init(conf Configuration) {
|
||||
log.Warn(err)
|
||||
continue
|
||||
}
|
||||
InstanceOfResourcePool().update(nodeStatus)
|
||||
go func(node NodeStatus) {
|
||||
InstanceOfResourcePool().update(node)
|
||||
}(nodeStatus)
|
||||
}
|
||||
|
||||
}(pc)
|
||||
|
||||
Reference in New Issue
Block a user