Commit e4fcc39e by Josh Soref Committed by GitHub

Chore: spelling in Go code (#24433)

parent b12df9d6
...@@ -18,7 +18,7 @@ type NotifierBase struct { ...@@ -18,7 +18,7 @@ type NotifierBase struct {
Name string Name string
Type string Type string
UID string UID string
IsDeault bool IsDefault bool
UploadImage bool UploadImage bool
SendReminder bool SendReminder bool
DisableResolveMessage bool DisableResolveMessage bool
...@@ -38,7 +38,7 @@ func NewNotifierBase(model *models.AlertNotification) NotifierBase { ...@@ -38,7 +38,7 @@ func NewNotifierBase(model *models.AlertNotification) NotifierBase {
return NotifierBase{ return NotifierBase{
UID: model.Uid, UID: model.Uid,
Name: model.Name, Name: model.Name,
IsDeault: model.IsDefault, IsDefault: model.IsDefault,
Type: model.Type, Type: model.Type,
UploadImage: uploadImage, UploadImage: uploadImage,
SendReminder: model.SendReminder, SendReminder: model.SendReminder,
...@@ -127,7 +127,7 @@ func (n *NotifierBase) GetNotifierUID() string { ...@@ -127,7 +127,7 @@ func (n *NotifierBase) GetNotifierUID() string {
// GetIsDefault returns true if the notifiers should // GetIsDefault returns true if the notifiers should
// be used for all alerts. // be used for all alerts.
func (n *NotifierBase) GetIsDefault() bool { func (n *NotifierBase) GetIsDefault() bool {
return n.IsDeault return n.IsDefault
} }
// GetSendReminder returns true if reminders should be sent. // GetSendReminder returns true if reminders should be sent.
......
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