Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e4fcc39e
Unverified
Commit
e4fcc39e
authored
Jun 02, 2020
by
Josh Soref
Committed by
GitHub
Jun 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: spelling in Go code (#24433)
parent
b12df9d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pkg/services/alerting/notifiers/base.go
+3
-3
No files found.
pkg/services/alerting/notifiers/base.go
View file @
e4fcc39e
...
@@ -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
IsDe
ault
bool
IsDe
fault
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
,
IsDe
ault
:
model
.
IsDefault
,
IsDe
fault
:
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
.
IsDe
f
ault
}
}
// GetSendReminder returns true if reminders should be sent.
// GetSendReminder returns true if reminders should be sent.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment