From 12e9446806615bb72e6dee76defa022dec77f735 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Fri, 30 Aug 2024 14:16:51 -0500 Subject: [PATCH] Remove some warnings --- .../src/network_json/network_json_counting.rs | 10 +++++----- src/rust/lts2_sys/liblts2_client.a | Bin 21364346 -> 21364346 bytes 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rust/lqos_config/src/network_json/network_json_counting.rs b/src/rust/lqos_config/src/network_json/network_json_counting.rs index 787ace04..c73dfc11 100644 --- a/src/rust/lqos_config/src/network_json/network_json_counting.rs +++ b/src/rust/lqos_config/src/network_json/network_json_counting.rs @@ -1,4 +1,4 @@ -use log::warn; +use log::{debug, warn}; use lqos_utils::units::DownUpOrder; use crate::NetworkJsonNode; @@ -46,7 +46,7 @@ impl NetworkJsonCounting { if let Some(node) = self.nodes.get_mut(*idx) { node.current_throughput.checked_add_tuple(bytes); } else { - warn!("No network tree entry for index {idx}"); + debug!("No network tree entry for index {idx}"); } } } @@ -59,7 +59,7 @@ impl NetworkJsonCounting { if let Some(node) = self.nodes.get(*idx) { node.rtts.insert((rtt * 100.0) as u16); } else { - warn!("No network tree entry for index {idx}"); + debug!("No network tree entry for index {idx}"); } } } @@ -71,7 +71,7 @@ impl NetworkJsonCounting { if let Some(node) = self.nodes.get_mut(*idx) { node.current_tcp_retransmits.checked_add(tcp_retransmits); } else { - warn!("No network tree entry for index {idx}"); + debug!("No network tree entry for index {idx}"); } } } @@ -84,7 +84,7 @@ impl NetworkJsonCounting { node.current_marks.checked_add(*marks); node.current_drops.checked_add(*drops); } else { - warn!("No network tree entry for index {idx}"); + debug!("No network tree entry for index {idx}"); } } } diff --git a/src/rust/lts2_sys/liblts2_client.a b/src/rust/lts2_sys/liblts2_client.a index 89fb15b43d915c03807be39368261a2fa6fcd55f..68ba5484545a8f69e574d365ef5ee58b025641f0 100644 GIT binary patch delta 1365 zcmWmE)j}0e6h%=G6ulxMASEFPVu2_KA|VKNcXxMpp&k>vySux)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