Skip to content

Commit

Permalink
remove unused struct
Browse files Browse the repository at this point in the history
Signed-off-by: mario <[email protected]>
  • Loading branch information
MarioBassem committed Dec 11, 2023
1 parent 33025e3 commit 0cf741e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use anyhow::Result;
use api_cli::{add_server, delete_server, update_server, ServerConfigs, ServerURL};
use balancer::Balancer;
use clap::Parser;
use clap::{Args, Subcommand};
use clap::Subcommand;
#[derive(Parser, Debug)]
struct BalancerParams {
/// Config yaml file path for servers configurations
Expand Down Expand Up @@ -59,11 +59,6 @@ enum Commands {
UpdateServer(ServerConfigs),
}

#[derive(Args)]
struct AddArgs {
name: Option<String>,
}

#[tokio::main]
async fn main() {
let cli = Cli::parse();
Expand Down

0 comments on commit 0cf741e

Please sign in to comment.