feat: TUI does not require Topology to implement Debug anymore
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 {}),
|
||||
|
||||
Reference in New Issue
Block a user