mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tab/spaces formatting
This commit is contained in:
parent
6a8643b3d1
commit
935da14f7d
@ -77,13 +77,13 @@ func TestAlertRuleModel(t *testing.T) {
|
|||||||
"noDataMode": "critical",
|
"noDataMode": "critical",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"frequency": "60s",
|
"frequency": "60s",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "test",
|
"type": "test",
|
||||||
"prop": 123
|
"prop": 123
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"notifications": [
|
"notifications": [
|
||||||
{"id": 1},
|
{"id": 1},
|
||||||
{"uid": "notifier2"}
|
{"uid": "notifier2"}
|
||||||
]
|
]
|
||||||
@ -123,8 +123,8 @@ func TestAlertRuleModel(t *testing.T) {
|
|||||||
"noDataMode": "critical",
|
"noDataMode": "critical",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"frequency": "0s",
|
"frequency": "0s",
|
||||||
"conditions": [ { "type": "test", "prop": 123 } ],
|
"conditions": [ { "type": "test", "prop": 123 } ],
|
||||||
"notifications": []
|
"notifications": []
|
||||||
}`
|
}`
|
||||||
|
|
||||||
alertJSON, jsonErr := simplejson.NewJson([]byte(json))
|
alertJSON, jsonErr := simplejson.NewJson([]byte(json))
|
||||||
@ -153,13 +153,13 @@ func TestAlertRuleModel(t *testing.T) {
|
|||||||
"noDataMode": "critical",
|
"noDataMode": "critical",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"frequency": "60s",
|
"frequency": "60s",
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
"type": "test",
|
"type": "test",
|
||||||
"prop": 123
|
"prop": 123
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"notifications": [
|
"notifications": [
|
||||||
{"not_id_uid": "1134"}
|
{"not_id_uid": "1134"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user