mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Some more linter suggestions applied
This commit is contained in:
@@ -30,7 +30,6 @@ use crate::strategies::full::uisp_fetch::load_uisp_data;
|
|||||||
use crate::strategies::full::utils::{print_sites, warn_of_no_parents_and_promote};
|
use crate::strategies::full::utils::{print_sites, warn_of_no_parents_and_promote};
|
||||||
use crate::strategies::full::zero_capacity_sites::correct_zero_capacity_sites;
|
use crate::strategies::full::zero_capacity_sites::correct_zero_capacity_sites;
|
||||||
use crate::uisp_types::{UispSite, UispSiteType};
|
use crate::uisp_types::{UispSite, UispSiteType};
|
||||||
pub use bandwidth_overrides::BandwidthOverrides;
|
|
||||||
use lqos_config::Config;
|
use lqos_config::Config;
|
||||||
|
|
||||||
/// Attempt to construct a full hierarchy topology for the UISP network.
|
/// Attempt to construct a full hierarchy topology for the UISP network.
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ mod full;
|
|||||||
|
|
||||||
use crate::errors::UispIntegrationError;
|
use crate::errors::UispIntegrationError;
|
||||||
use crate::ip_ranges::IpRanges;
|
use crate::ip_ranges::IpRanges;
|
||||||
pub use full::BandwidthOverrides;
|
|
||||||
use lqos_config::Config;
|
use lqos_config::Config;
|
||||||
use tracing::{error, info};
|
use tracing::{error, info};
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ impl UispDataLink {
|
|||||||
let mut from_site_id = String::new();
|
let mut from_site_id = String::new();
|
||||||
let mut to_site_id = String::new();
|
let mut to_site_id = String::new();
|
||||||
let mut to_site_name = String::new();
|
let mut to_site_name = String::new();
|
||||||
let mut from_site_name = String::new();
|
let from_site_name = String::new();
|
||||||
|
|
||||||
// Obvious Site Links
|
// Obvious Site Links
|
||||||
if let Some(from_site) = &value.from.site {
|
if let Some(from_site) = &value.from.site {
|
||||||
|
|||||||
Reference in New Issue
Block a user