Skip to content

Commit

Permalink
removing unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
sima committed Oct 10, 2023
1 parent 027cf60 commit 9832c6e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/bin/pushpin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
*/

use clap::Parser;
use log::{info, LevelFilter};
use pushpin::log::get_simple_logger;
use log::info;
use pushpin::runner::{ArgsData, CliArgs, Settings};
use pushpin::service::start_services;
use std::error::Error;
Expand All @@ -26,7 +25,7 @@ fn process_args_and_run(args: CliArgs) -> Result<(), Box<dyn Error>> {
let args_data = ArgsData::new(args)?;
let settings = Settings::new(args_data)?;

let settings = Settings::new(args_data, &config_file)?;
println!("settings: {:?}", settings);
info!("using config: {:?}", settings.config_file.display());
start_services(settings);
//To be implemented in the next PR
Expand Down

0 comments on commit 9832c6e

Please sign in to comment.