Fix double unlock in WorkerStats
This commit is contained in:
parent
98fed009d7
commit
8ac20305df
1
extern/sector-storage/stats.go
vendored
1
extern/sector-storage/stats.go
vendored
@ -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{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user