fix: remove unused code to pass clippy CI checks
This commit is contained in:
parent
4269591803
commit
aa32be93be
2 changed files with 0 additions and 8 deletions
|
|
@ -4,9 +4,6 @@ use std::time::Duration;
|
|||
use tokio::net::UdpSocket;
|
||||
use tokio::time::timeout;
|
||||
|
||||
/// ICMP protocol number
|
||||
const IPPROTO_ICMP: i32 = 1;
|
||||
|
||||
/// ICMP message types
|
||||
const ICMP_ECHO: u8 = 8;
|
||||
const ICMP_ECHOREPLY: u8 = 0;
|
||||
|
|
|
|||
|
|
@ -321,11 +321,6 @@ impl AgentClient {
|
|||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Get the monitoring check sender for spawning ping tasks.
|
||||
pub fn monitoring_check_sender(&self) -> mpsc::UnboundedSender<MonitoringCheck> {
|
||||
self.monitoring_check_tx.clone()
|
||||
}
|
||||
}
|
||||
|
||||
/// Execute an SNMP job and collect results.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue