From 1a4a29348fd5b9363ded4da206fb448efe4242cb Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Thu, 19 Sep 2024 14:40:20 +0000 Subject: [PATCH] fix(falco): allow plugin init_config map in json schema Signed-off-by: Luca Guerra --- userspace/falco/config_json_schema.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/userspace/falco/config_json_schema.h b/userspace/falco/config_json_schema.h index a9dd6f88..ba6419e7 100644 --- a/userspace/falco/config_json_schema.h +++ b/userspace/falco/config_json_schema.h @@ -587,7 +587,14 @@ const char config_schema_string[] = LONG_STRING_CONST( "type": "string" }, "init_config": { - "type": "string" + "anyOf": [ + { + "type": "object" + }, + { + "type": "string" + } + ] }, "open_params": { "type": "string"