From 2d35cea26930b414c0e5f1db152018a0989bff46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Mon, 6 Feb 2023 16:06:18 +0100 Subject: [PATCH] [fix] conf schema --- doc/hmdl.schema.json | 6 +++--- source/logic/conf.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/hmdl.schema.json b/doc/hmdl.schema.json index 2b3c9b4..f6ab975 100644 --- a/doc/hmdl.schema.json +++ b/doc/hmdl.schema.json @@ -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": { diff --git a/source/logic/conf.py b/source/logic/conf.py index 2f19a52..61dd9d8 100644 --- a/source/logic/conf.py +++ b/source/logic/conf.py @@ -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": {