Fix double unlock in WorkerStats
This commit is contained in:
Vendored
-1
@@ -10,7 +10,6 @@ import (
|
||||
|
||||
func (m *Manager) WorkerStats() map[uuid.UUID]storiface.WorkerStats {
|
||||
m.sched.workersLk.RLock()
|
||||
defer m.sched.workersLk.RUnlock()
|
||||
|
||||
out := map[uuid.UUID]storiface.WorkerStats{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user