summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json')
-rw-r--r--src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json b/src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json
index 27c0185606..025b78f853 100644
--- a/src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/portcheck/config_schema.json
@@ -44,7 +44,10 @@
"host",
"ports"
],
- "additionalProperties": false
+ "additionalProperties": false,
+ "patternProperties": {
+ "^name$": {}
+ }
},
"uiSchema": {
"uiOptions": {