diff --git a/examples/lamp/src/main.rs b/examples/lamp/src/main.rs index 4433d96..eaeb0f5 100644 --- a/examples/lamp/src/main.rs +++ b/examples/lamp/src/main.rs @@ -2,10 +2,7 @@ use harmony::{ data::Version, inventory::Inventory, maestro::Maestro, - modules::{ - lamp::{LAMPConfig, LAMPScore}, - monitoring::monitoring_alerting::MonitoringAlertingStackScore, - }, + modules::lamp::{LAMPConfig, LAMPScore}, topology::{K8sAnywhereTopology, Url}, }; @@ -43,10 +40,7 @@ async fn main() { .await .unwrap(); - let mut monitoring_stack_score = MonitoringAlertingStackScore::new(); - monitoring_stack_score.namespace = Some(lamp_stack.config.namespace.clone()); - - maestro.register_all(vec![Box::new(lamp_stack), Box::new(monitoring_stack_score)]); + maestro.register_all(vec![Box::new(lamp_stack)]); // Here we bootstrap the CLI, this gives some nice features if you need them harmony_cli::init(maestro, None).await.unwrap(); } diff --git a/examples/monitoring/src/main.rs b/examples/monitoring/src/main.rs index 8b6eeb4..91ddfd3 100644 --- a/examples/monitoring/src/main.rs +++ b/examples/monitoring/src/main.rs @@ -1,6 +1,5 @@ use harmony::{ - inventory::Inventory, - maestro::Maestro, + inventory::Inventory, maestro::Maestro, modules::monitoring::monitoring_alerting::MonitoringAlertingScore, topology::K8sAnywhereTopology, };