tech(slack): format code using gofmt
This commit is contained in:
1 parent
2d7bb4a9f3
commit
f0d9d133c6
1 file changed
+3
-3
@@ -27,16 +27,16 @@ func NewSlackNotifier(model *m.AlertNotification) (alerting.Notifier, error) {
|
||||
return &SlackNotifier{
|
||||
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings),
|
||||
Url: url,
|
||||
Recipient: recipient,
|
||||
Recipient: recipient,
|
||||
log: log.New("alerting.notifier.slack"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
type SlackNotifier struct {
|
||||
NotifierBase
|
||||
Url string
|
||||
Url string
|
||||
Recipient string
|
||||
log log.Logger
|
||||
log log.Logger
|
||||
}
|
||||
|
||||
func (this *SlackNotifier) Notify(evalContext *alerting.EvalContext) error {
|
||||
|
||||
Reference in new issue
Block a user