mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-16 10:37:09 +00:00
commit
1fdfe9f807
@ -376,7 +376,7 @@ func (api *API) listAlerts(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
res = append(res, apiAlert)
|
||||
}
|
||||
api.mtx.Unlock()
|
||||
api.mtx.RUnlock()
|
||||
|
||||
if err != nil {
|
||||
api.respondError(w, apiError{
|
||||
|
Loading…
Reference in New Issue
Block a user