Fix double unlock in WorkerStats

This commit is contained in:
Łukasz Magiera 2022-01-18 12:40:04 +01:00
parent 98fed009d7
commit 8ac20305df

View File

@ -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{}