mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
bugfix
This commit is contained in:
@@ -22,7 +22,7 @@ type ResourcePool struct {
|
|||||||
networksFree map[string]bool
|
networksFree map[string]bool
|
||||||
networkMu sync.Mutex
|
networkMu sync.Mutex
|
||||||
|
|
||||||
versions map[string]string
|
versions map[string]float64
|
||||||
|
|
||||||
counter int
|
counter int
|
||||||
counterTotal int
|
counterTotal int
|
||||||
@@ -32,7 +32,7 @@ func (pool *ResourcePool) start() {
|
|||||||
//TODO: retrieve networks from yao-agent-master in blocking io
|
//TODO: retrieve networks from yao-agent-master in blocking io
|
||||||
pool.networks = map[string]bool{}
|
pool.networks = map[string]bool{}
|
||||||
pool.networksFree = map[string]bool{}
|
pool.networksFree = map[string]bool{}
|
||||||
pool.versions = map[string]string{}
|
pool.versions = map[string]float64{}
|
||||||
|
|
||||||
/* check dead nodes */
|
/* check dead nodes */
|
||||||
go func() {
|
go func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user