fix: cargo fmt

This commit is contained in:
2025-07-04 16:14:47 -04:00
parent f702ecd8c9
commit b1bf4fd4d5
9 changed files with 31 additions and 26 deletions

View File

@@ -1,4 +1,3 @@
use async_trait::async_trait;
use log::info;
@@ -6,19 +5,21 @@ use crate::{
inventory::Inventory,
modules::{
application::{Application, ApplicationFeature},
monitoring::{application_monitoring::k8s_application_monitoring_score::ApplicationPrometheusMonitoringScore, kube_prometheus::{
helm_prometheus_alert_score::HelmPrometheusAlertingScore,
types::{NamespaceSelector, ServiceMonitor},
}},
monitoring::{
application_monitoring::k8s_application_monitoring_score::ApplicationPrometheusMonitoringScore,
kube_prometheus::{
helm_prometheus_alert_score::HelmPrometheusAlertingScore,
types::{NamespaceSelector, ServiceMonitor},
},
},
},
score::Score,
topology::{tenant::TenantManager, HelmCommand, Topology},
topology::{HelmCommand, Topology, tenant::TenantManager},
};
#[derive(Debug, Default, Clone)]
pub struct Monitoring {}
#[async_trait]
impl<T: Topology + HelmCommand + 'static + TenantManager> ApplicationFeature<T> for Monitoring {
async fn ensure_installed(&self, topology: &T) -> Result<(), String> {