[fix] conf schema

This commit is contained in:
Christian Fraß 2023-02-06 16:06:18 +01:00
parent eafd2e6c45
commit 2d35cea269
2 changed files with 4 additions and 4 deletions

View file

@ -423,7 +423,7 @@
{ {
"anyOf": [ "anyOf": [
{ {
"title": "notification channel 'script'", "title": "check 'script'",
"type": "object", "type": "object",
"unevaluatedProperties": false, "unevaluatedProperties": false,
"properties": { "properties": {
@ -458,7 +458,7 @@
] ]
}, },
{ {
"title": "notification channel 'file_state'", "title": "check 'file_state'",
"type": "object", "type": "object",
"unevaluatedProperties": false, "unevaluatedProperties": false,
"properties": { "properties": {
@ -512,7 +512,7 @@
] ]
}, },
{ {
"title": "notification channel 'http_request'", "title": "check 'http_request'",
"type": "object", "type": "object",
"unevaluatedProperties": false, "unevaluatedProperties": false,
"properties": { "properties": {

View file

@ -143,7 +143,7 @@ def conf_schema_root(check_kind_implementations, notification_channel_implementa
"anyOf": list( "anyOf": list(
map( map(
lambda pair: { lambda pair: {
"title": ("notification channel '%s'" % pair[0]), "title": ("check '%s'" % pair[0]),
"type": "object", "type": "object",
"unevaluatedProperties": False, "unevaluatedProperties": False,
"properties": { "properties": {