feat: TUI does not require Topology to implement Debug anymore

This commit is contained in:
2025-04-23 11:16:33 -04:00
parent 0857aba039
commit 45668638e1
4 changed files with 15 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ async fn main() {
},
};
let maestro = Maestro::<K8sAnywhereTopology>::load_from_env();
let mut maestro = Maestro::<K8sAnywhereTopology>::load_from_env();
maestro.register_all(vec![Box::new(lamp_stack)]);
harmony_tui::init(maestro).await.unwrap();
}

View File

@@ -22,7 +22,6 @@ async fn main() {
let topology = HAClusterTopology::autoload();
let mut maestro = Maestro::new(inventory, topology);
maestro.register_all(vec![
Box::new(SuccessScore {}),
Box::new(ErrorScore {}),