path index: Raise alerts on bad filter config
This commit is contained in:
1 parent
91e474e72e
commit
ac2ea039b5
10 files changed
+109
-17
No files matched your search
@@ -160,3 +160,10 @@ func (a *Alerting) GetAlerts() []Alert {
|
||||
|
||||
return out
|
||||
}
|
||||
|
||||
func (a *Alerting) IsRaised(at AlertType) bool {
|
||||
a.lk.Lock()
|
||||
defer a.lk.Unlock()
|
||||
|
||||
return a.alerts[at].Active
|
||||
}
|
||||
Reference in new issue
Block a user