Skip to content

Commit 66b711f

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Made the CLI schema validation bit more relaxed.
Both `metrics` and `telemetry` are generated by `config dump`. Signed-off-by: Akos Kitta <[email protected]>
1 parent c6b1250 commit 66b711f

File tree

2 files changed

+5
-324
lines changed

2 files changed

+5
-324
lines changed

Diff for: arduino-ide-extension/data/cli/schema/arduino-cli.schema.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -103,18 +103,18 @@
103103
},
104104
"additionalProperties": false
105105
},
106-
"telemetry": {
106+
"metrics": {
107107
"type": "object",
108-
"description": "Telemetry Configuration",
108+
"description": "Metrics Configuration",
109109
"properties": {
110110
"addr": {
111111
"type": "string",
112-
"description": "Address to the telemetry endpoint. Must be a full address with host, address, and port. For instance, ':9090' represents 'localhost:9090'",
112+
"description": "Address to the metrics endpoint. Must be a full address with host, address, and port. For instance, ':9090' represents 'localhost:9090'",
113113
"pattern": "^(.*)$"
114114
},
115115
"enabled": {
116116
"type": "boolean",
117-
"description": "Whether the telemetry is enabled or not."
117+
"description": "Whether the metrics is enabled or not."
118118
},
119119
"additionalProperties": false
120120
},
@@ -132,6 +132,5 @@
132132
},
133133
"additionalProperties": false
134134
}
135-
},
136-
"additionalProperties": false
135+
}
137136
}

Diff for: arduino-ide-extension/src/test/browser/boards-service-client-impl.test.ts_back

-318
This file was deleted.

0 commit comments

Comments
 (0)