Skip to content

Commit dc4b091

Browse files
ktt3jaCQ Bot
authored and
CQ Bot
committed
[wlan][telemetry] Rename client-connections-toggle-events
Rename it as `client_connections_toggle_events` to be consistent with our other Inspect nodes where underscores are used. Test: Updated unit test Change-Id: I7dc96cccee84d0ac1185ce2993f887a495eaf4d8 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1100479 Commit-Queue: Kiet Tran <[email protected]> Reviewed-by: Naomi Mccracken <[email protected]>
1 parent 2a61145 commit dc4b091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connectivity/wlan/lib/telemetry/src/processors/toggle_events.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct ToggleLogger {
2121
impl ToggleLogger {
2222
pub fn new(inspect_node: &InspectNode) -> Self {
2323
// Initialize inspect children
24-
let toggle_events = inspect_node.create_child("client-connections-toggle-events");
24+
let toggle_events = inspect_node.create_child("client_connections_toggle_events");
2525
let toggle_inspect_node = BoundedListNode::new(toggle_events, INSPECT_TOGGLE_EVENTS_LIMIT);
2626

2727
Self { toggle_inspect_node }
@@ -54,7 +54,7 @@ mod tests {
5454

5555
assert_data_tree!(inspector, root: {
5656
wlan_mock_node: {
57-
"client-connections-toggle-events": {
57+
client_connections_toggle_events: {
5858
"0": {
5959
"event_type": "Enabled",
6060
"@time": AnyNumericProperty

0 commit comments

Comments
 (0)