modified tui-example main

This commit is contained in:
2025-04-17 09:42:36 -04:00
parent 0ba7f2536c
commit 6ddf48591b
5 changed files with 149 additions and 10 deletions

View File

@@ -1,7 +1,10 @@
use harmony::{
inventory::Inventory,
maestro::Maestro,
modules::dummy::{ErrorScore, PanicScore, SuccessScore},
modules::{
dns::DnsScore,
dummy::{ErrorScore, PanicScore, SuccessScore},
},
topology::HAClusterTopology,
};
@@ -15,6 +18,7 @@ async fn main() {
Box::new(SuccessScore {}),
Box::new(ErrorScore {}),
Box::new(PanicScore {}),
Box::new(DnsScore::new(vec![], None)),
]);
harmony_tui::init(maestro).await.unwrap();
}