Misc cleanups
Some checks are pending
Rust / build (push) Waiting to run

This commit is contained in:
Rayhaan Jaufeerally
2024-08-18 13:59:28 +00:00
parent 82d052ca33
commit 0e45b96440
6 changed files with 132 additions and 164 deletions

View File

@ -213,9 +213,8 @@ where
for pathset in self.rib.iter() {
snapshot.routes.push(pathset.2.lock().unwrap().clone());
}
// TODO: handle an error here.
if let Err(e) = sender.send(snapshot) {
warn!("Failed to send snapshot of RIB: {:?}", e);
trace!("Failed to send snapshot of RIB: {:?}", e);
}
info!("Done RIB dump");
}