From e4fcc39e557e5f70a196b88511b8813632d306c4 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 2 Jun 2020 08:42:34 -0400 Subject: [PATCH] Chore: spelling in Go code (#24433) --- pkg/services/alerting/notifiers/base.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/services/alerting/notifiers/base.go b/pkg/services/alerting/notifiers/base.go index de0a64dc5b8..40107dd5425 100644 --- a/pkg/services/alerting/notifiers/base.go +++ b/pkg/services/alerting/notifiers/base.go @@ -18,7 +18,7 @@ type NotifierBase struct { Name string Type string UID string - IsDeault bool + IsDefault bool UploadImage bool SendReminder bool DisableResolveMessage bool @@ -38,7 +38,7 @@ func NewNotifierBase(model *models.AlertNotification) NotifierBase { return NotifierBase{ UID: model.Uid, Name: model.Name, - IsDeault: model.IsDefault, + IsDefault: model.IsDefault, Type: model.Type, UploadImage: uploadImage, SendReminder: model.SendReminder, @@ -127,7 +127,7 @@ func (n *NotifierBase) GetNotifierUID() string { // GetIsDefault returns true if the notifiers should // be used for all alerts. func (n *NotifierBase) GetIsDefault() bool { - return n.IsDeault + return n.IsDefault } // GetSendReminder returns true if reminders should be sent.