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
c87b2c99
Unverified
Commit
c87b2c99
authored
May 23, 2019
by
Carl Bergquist
Committed by
GitHub
May 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: fixes typo in provisioning docs (#17248)
closes #17196
parent
8e434ad1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
docs/sources/administration/provisioning.md
+1
-1
pkg/services/provisioning/notifiers/config_reader_test.go
+2
-0
pkg/services/provisioning/notifiers/testdata/test-configs/correct-properties/correct-properties.yaml
+2
-1
No files found.
docs/sources/administration/provisioning.md
View file @
c87b2c99
...
...
@@ -274,7 +274,7 @@ notifiers:
# or
org_name
:
Main Org.
is_default
:
true
send_reminder
s
:
true
send_reminder
:
true
frequency
:
1h
disable_resolve_message
:
false
# See `Supported Settings` section for settings supporter for each
...
...
pkg/services/provisioning/notifiers/config_reader_test.go
View file @
c87b2c99
...
...
@@ -66,6 +66,8 @@ func TestNotificationAsConfig(t *testing.T) {
So
(
nt
.
Settings
,
ShouldResemble
,
map
[
string
]
interface
{}{
"recipient"
:
"XXX"
,
"token"
:
"xoxb"
,
"uploadImage"
:
true
,
"url"
:
"https://slack.com"
,
})
So
(
nt
.
SendReminder
,
ShouldBeTrue
)
So
(
nt
.
Frequency
,
ShouldEqual
,
"1h"
)
nt
=
nts
[
1
]
So
(
nt
.
Name
,
ShouldEqual
,
"another-not-default-notification"
)
...
...
pkg/services/provisioning/notifiers/testdata/test-configs/correct-properties/correct-properties.yaml
View file @
c87b2c99
...
...
@@ -3,8 +3,9 @@ notifiers:
type
:
slack
uid
:
notifier1
org_id
:
2
uid
:
"
notifier1"
is_default
:
true
send_reminder
:
true
frequency
:
1h
settings
:
recipient
:
"
XXX"
token
:
"
xoxb"
...
...
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