mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
bugfix
This commit is contained in:
parent
3c40765c22
commit
c9beb847a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user