Commit a90bba85 by bergquist

fixes merge error

parent 2de5a711
...@@ -3,12 +3,13 @@ package notifiers ...@@ -3,12 +3,13 @@ package notifiers
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"time"
"github.com/grafana/grafana/pkg/bus" "github.com/grafana/grafana/pkg/bus"
"github.com/grafana/grafana/pkg/log" "github.com/grafana/grafana/pkg/log"
m "github.com/grafana/grafana/pkg/models" m "github.com/grafana/grafana/pkg/models"
"github.com/grafana/grafana/pkg/services/alerting" "github.com/grafana/grafana/pkg/services/alerting"
"github.com/grafana/grafana/pkg/setting" "github.com/grafana/grafana/pkg/setting"
"time"
) )
func init() { func init() {
...@@ -35,7 +36,7 @@ func NewGoogleChatNotifier(model *m.AlertNotification) (alerting.Notifier, error ...@@ -35,7 +36,7 @@ func NewGoogleChatNotifier(model *m.AlertNotification) (alerting.Notifier, error
} }
return &GoogleChatNotifier{ return &GoogleChatNotifier{
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings), NotifierBase: NewNotifierBase(model),
Url: url, Url: url,
log: log.New("alerting.notifier.googlechat"), log: log.New("alerting.notifier.googlechat"),
}, nil }, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment