Skip to content

Commit

Permalink
Add traits so the local mode could work
Browse files Browse the repository at this point in the history
  • Loading branch information
isbm committed Nov 27, 2024
1 parent bfd9247 commit 47ca64c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
use clap::ArgMatches;
use colored::Colorize;
use libsysinspect::{
cfg::{mmconf::MasterConfig, select_config},
cfg::{
mmconf::{MasterConfig, MinionConfig},
select_config,
},
inspector::SysInspectRunner,
logger,
reactor::handlers,
traits::get_minion_traits,
SysinspectError,
};
use log::LevelFilter;
Expand Down Expand Up @@ -108,6 +112,7 @@ fn main() {
sr.set_state(params.get_one::<String>("state").cloned());
sr.set_entities(clidef::split_by(&params, "entities", None));
sr.set_checkbook_labels(clidef::split_by(&params, "labels", None));
sr.set_traits(get_minion_traits(None));
sr.start();
}
}

0 comments on commit 47ca64c

Please sign in to comment.