diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2024-03-14 20:22:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 20:22:42 +0200 |
commit | c56a123576b790528a9e4a030f1c0679b11c6665 (patch) | |
tree | 7127392ec7b4ebc1f80c8f594bcd9e4a4ff18088 /src/go/collectors/go.d.plugin/modules/systemdunits | |
parent | 410884d7360b3b58a6fdd541b458fd08d444d3b9 (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.json | 5 |
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": { |