1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-04-10 16:50:36 +08:00
parent e0f7e20268
commit a914e24b2c

View File

@@ -22,7 +22,7 @@ type ResourcePool struct {
networksFree map[string]bool
networkMu sync.Mutex
versions map[string]string
versions map[string]float64
counter int
counterTotal int
@@ -32,7 +32,7 @@ func (pool *ResourcePool) start() {
//TODO: retrieve networks from yao-agent-master in blocking io
pool.networks = map[string]bool{}
pool.networksFree = map[string]bool{}
pool.versions = map[string]string{}
pool.versions = map[string]float64{}
/* check dead nodes */
go func() {