mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(slack): format code using gofmt
This commit is contained in:
parent
2d7bb4a9f3
commit
f0d9d133c6
@ -27,16 +27,16 @@ func NewSlackNotifier(model *m.AlertNotification) (alerting.Notifier, error) {
|
|||||||
return &SlackNotifier{
|
return &SlackNotifier{
|
||||||
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings),
|
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings),
|
||||||
Url: url,
|
Url: url,
|
||||||
Recipient: recipient,
|
Recipient: recipient,
|
||||||
log: log.New("alerting.notifier.slack"),
|
log: log.New("alerting.notifier.slack"),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type SlackNotifier struct {
|
type SlackNotifier struct {
|
||||||
NotifierBase
|
NotifierBase
|
||||||
Url string
|
Url string
|
||||||
Recipient string
|
Recipient string
|
||||||
log log.Logger
|
log log.Logger
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
|
func (this *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user