diff --git a/harmony/src/domain/topology/k8s_anywhere.rs b/harmony/src/domain/topology/k8s_anywhere.rs index 044729f..6742b5a 100644 --- a/harmony/src/domain/topology/k8s_anywhere.rs +++ b/harmony/src/domain/topology/k8s_anywhere.rs @@ -6,7 +6,6 @@ use log::{debug, info, warn}; use tokio::sync::OnceCell; use crate::{ - data::Id, executors::ExecutorError, interpret::{InterpretError, Outcome}, inventory::Inventory, @@ -18,9 +17,7 @@ use crate::{ use super::{ HelmCommand, K8sclient, Topology, k8s::K8sClient, - tenant::{ - ResourceLimits, TenantConfig, TenantManager, TenantNetworkPolicy, k8s::K8sTenantManager, - }, + tenant::{TenantConfig, TenantManager, k8s::K8sTenantManager}, }; struct K8sState { diff --git a/harmony/src/modules/monitoring/kube_prometheus.rs b/harmony/src/modules/monitoring/kube_prometheus.rs index b694f51..e26ded8 100644 --- a/harmony/src/modules/monitoring/kube_prometheus.rs +++ b/harmony/src/modules/monitoring/kube_prometheus.rs @@ -1,8 +1,7 @@ use super::{config::KubePrometheusConfig, monitoring_alerting::AlertChannel}; use log::info; use non_blank_string_rs::NonBlankString; -use std::{collections::HashMap, str::FromStr}; -use url::Url; +use std::str::FromStr; use crate::modules::helm::chart::HelmChartScore; diff --git a/harmony/src/modules/monitoring/monitoring_alerting.rs b/harmony/src/modules/monitoring/monitoring_alerting.rs index 6d2db38..bdddb7d 100644 --- a/harmony/src/modules/monitoring/monitoring_alerting.rs +++ b/harmony/src/modules/monitoring/monitoring_alerting.rs @@ -13,10 +13,7 @@ use crate::{ topology::{HelmCommand, Topology}, }; -use super::{ - config::KubePrometheusConfig, discord_alert_manager::discord_alert_manager_score, - kube_prometheus::kube_prometheus_helm_chart_score, -}; +use super::{config::KubePrometheusConfig, kube_prometheus::kube_prometheus_helm_chart_score}; #[derive(Debug, Clone, Serialize)] pub enum AlertChannel {