[fix] conf schema
This commit is contained in:
parent
eafd2e6c45
commit
2d35cea269
|
|
@ -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": {
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue