mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Update to alerting 20230203015918-0e4e2675d7aa (after refactoring) (#62823)
* add alerting prefix to some packages from alerting that have similar names in prometheus alertmanager
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package notifier
|
||||
|
||||
import (
|
||||
"github.com/grafana/alerting/alerting"
|
||||
alertingNotify "github.com/grafana/alerting/notify"
|
||||
)
|
||||
|
||||
func (am *Alertmanager) GetAlerts(active, silenced, inhibited bool, filter []string, receivers string) (alerting.GettableAlerts, error) {
|
||||
func (am *Alertmanager) GetAlerts(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.GettableAlerts, error) {
|
||||
return am.Base.GetAlerts(active, silenced, inhibited, filter, receivers)
|
||||
}
|
||||
|
||||
func (am *Alertmanager) GetAlertGroups(active, silenced, inhibited bool, filter []string, receivers string) (alerting.AlertGroups, error) {
|
||||
func (am *Alertmanager) GetAlertGroups(active, silenced, inhibited bool, filter []string, receivers string) (alertingNotify.AlertGroups, error) {
|
||||
return am.Base.GetAlertGroups(active, silenced, inhibited, filter, receivers)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user