summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/systemdunits
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-03-14 20:22:42 +0200
committerGitHub <noreply@github.com>2024-03-14 20:22:42 +0200
commitc56a123576b790528a9e4a030f1c0679b11c6665 (patch)
tree7127392ec7b4ebc1f80c8f594bcd9e4a4ff18088 /src/go/collectors/go.d.plugin/modules/systemdunits
parent410884d7360b3b58a6fdd541b458fd08d444d3b9 (diff)
go.d.plugin: jsonschema allow array/object to be null (#17166)
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/systemdunits')
-rw-r--r--src/go/collectors/go.d.plugin/modules/systemdunits/config_schema.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/systemdunits/config_schema.json b/src/go/collectors/go.d.plugin/modules/systemdunits/config_schema.json
index 465fbee49b..1e05166759 100644
--- a/src/go/collectors/go.d.plugin/modules/systemdunits/config_schema.json
+++ b/src/go/collectors/go.d.plugin/modules/systemdunits/config_schema.json
@@ -21,7 +21,10 @@
"include": {
"title": "Include",
"description": "Configuration for monitoring specific systemd units. Include systemd units whose names match any of the specified [patterns](https://golang.org/pkg/path/filepath/#Match).",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"uniqueItems": true,
"minItems": 1,
"items": {