Change grafana receiver type
This commit is contained in:
1 parent
eee8f08f6f
commit
17a0bdb205
2 files changed
+7
-131
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/grafana/grafana/pkg/services/alerting"
|
||||
"github.com/grafana/grafana/pkg/models"
|
||||
"github.com/prometheus/alertmanager/config"
|
||||
)
|
||||
|
||||
@@ -48,7 +48,8 @@ type AlertingConfig struct {
|
||||
Receivers []*Receiver `yaml:"receivers,omitempty" json:"receivers,omitempty"`
|
||||
}
|
||||
|
||||
type GrafanaReceiver alerting.NotifierPlugin
|
||||
//type GrafanaReceiver models.CreateAlertNotificationCommand
|
||||
type GrafanaReceiver models.CreateAlertNotificationCommand
|
||||
|
||||
type Receiver struct {
|
||||
config.Receiver
|
||||
|
||||
Reference in new issue
Block a user