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/openvpn/config_schema.json | |
parent | 410884d7360b3b58a6fdd541b458fd08d444d3b9 (diff) |
go.d.plugin: jsonschema allow array/object to be null (#17166)
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json')
-rw-r--r-- | src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json b/src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json index 0ad04b1dcb..0b98b70e8d 100644 --- a/src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json +++ b/src/go/collectors/go.d.plugin/modules/openvpn/config_schema.json @@ -27,12 +27,18 @@ "per_user_stats": { "title": "User selector", "description": "Configuration for monitoring specific users. If left empty, no user stats will be collected.", - "type": "object", + "type": [ + "object", + "null" + ], "properties": { "includes": { "title": "Include", "description": "Include users whose usernames match any of the specified inclusion [patterns](https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/pkg/matcher#readme).", - "type": "array", + "type": [ + "array", + "null" + ], "items": { "title": "Username pattern", "type": "string" @@ -42,7 +48,10 @@ "excludes": { "title": "Exclude", "description": "Exclude users whose usernames match any of the specified exclusion [patterns](https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/pkg/matcher#readme).", - "type": "array", + "type": [ + "array", + "null" + ], "items": { "title": "Username pattern", "type": "string" |