diff --git a/provider/mem/mem.go b/provider/mem/mem.go index 82964b756f..43fe45f997 100644 --- a/provider/mem/mem.go +++ b/provider/mem/mem.go @@ -165,7 +165,6 @@ func (a *Alerts) GetPending() provider.AlertIterator { ch = make(chan *types.Alert, alertChannelLength) done = make(chan struct{}) ) - a.mtx.Lock() defer a.mtx.Unlock() alerts := a.alerts.List()