1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2020-05-03 23:46:25 +08:00
parent 3733aa626b
commit 7b253641b6

View File

@@ -343,6 +343,7 @@ func (pool *ResourcePool) list() MsgResource {
start := pool.pools[0].Next
for cur := start; ; {
log.Info(cur.ID)
cur.Lock.Lock()
for k, node := range cur.Nodes {
nodes[k] = *node