Skip to content

Commit

Permalink
Merge pull request grafana#7195 from theisenmark/webhook-username
Browse files Browse the repository at this point in the history
Fix webhook username mismatch
  • Loading branch information
bergquist authored Jan 9, 2017
2 parents 4f216f2 + afda9cb commit edf868d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/alerting/notifiers/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewWebHookNotifier(model *m.AlertNotification) (alerting.Notifier, error) {
return &WebhookNotifier{
NotifierBase: NewNotifierBase(model.Id, model.IsDefault, model.Name, model.Type, model.Settings),
Url: url,
User: model.Settings.Get("user").MustString(),
User: model.Settings.Get("username").MustString(),
Password: model.Settings.Get("password").MustString(),
HttpMethod: model.Settings.Get("httpMethod").MustString("POST"),
log: log.New("alerting.notifier.webhook"),
Expand Down

0 comments on commit edf868d

Please sign in to comment.