Skip to content

Commit

Permalink
[wlan][telemetry] Rename client-connections-toggle-events
Browse files Browse the repository at this point in the history
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 <kiettran@google.com>
Reviewed-by: Naomi Mccracken <nmccracken@google.com>
  • Loading branch information
ktt3ja authored and CQ Bot committed Aug 14, 2024
1 parent 2a61145 commit dc4b091
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct ToggleLogger {
impl ToggleLogger {
pub fn new(inspect_node: &InspectNode) -> Self {
// Initialize inspect children
let toggle_events = inspect_node.create_child("client-connections-toggle-events");
let toggle_events = inspect_node.create_child("client_connections_toggle_events");
let toggle_inspect_node = BoundedListNode::new(toggle_events, INSPECT_TOGGLE_EVENTS_LIMIT);

Self { toggle_inspect_node }
Expand Down Expand Up @@ -54,7 +54,7 @@ mod tests {

assert_data_tree!(inspector, root: {
wlan_mock_node: {
"client-connections-toggle-events": {
client_connections_toggle_events: {
"0": {
"event_type": "Enabled",
"@time": AnyNumericProperty
Expand Down

0 comments on commit dc4b091

Please sign in to comment.