[fix] conf schema
This commit is contained in:
parent
eafd2e6c45
commit
2d35cea269
|
|
@ -423,7 +423,7 @@
|
|||
{
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "notification channel 'script'",
|
||||
"title": "check 'script'",
|
||||
"type": "object",
|
||||
"unevaluatedProperties": false,
|
||||
"properties": {
|
||||
|
|
@ -458,7 +458,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"title": "notification channel 'file_state'",
|
||||
"title": "check 'file_state'",
|
||||
"type": "object",
|
||||
"unevaluatedProperties": false,
|
||||
"properties": {
|
||||
|
|
@ -512,7 +512,7 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"title": "notification channel 'http_request'",
|
||||
"title": "check 'http_request'",
|
||||
"type": "object",
|
||||
"unevaluatedProperties": false,
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ def conf_schema_root(check_kind_implementations, notification_channel_implementa
|
|||
"anyOf": list(
|
||||
map(
|
||||
lambda pair: {
|
||||
"title": ("notification channel '%s'" % pair[0]),
|
||||
"title": ("check '%s'" % pair[0]),
|
||||
"type": "object",
|
||||
"unevaluatedProperties": False,
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue