diff --git a/server/worker/pool/pool.go b/server/worker/pool/pool.go index e2f3d91f..07055746 100644 --- a/server/worker/pool/pool.go +++ b/server/worker/pool/pool.go @@ -64,7 +64,7 @@ func (p *Pool) List() []worker.Worker { defer p.Unlock() var workers []worker.Worker - for w, _ := range p.workers { + for w := range p.workers { workers = append(workers, w) } return workers