Skip to content

Commit

Permalink
Remove NotifyHook
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jul 25, 2024
1 parent b9e9bbb commit 8f2d8f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ pub(crate) struct Cli {
pub(crate) output_lines: usize,
}

#[derive(clap::Args)]
#[group(required = true, multiple = false)]
pub(crate) struct NotifyHook {
#[arg(long, value_parser(Url::from_str), env = "HEALTH_CHECK_SLACK_WEBHOOK")]
pub(crate) slack_webhook: Url,
}

#[derive(Debug)]
enum MainMessage {
Error(anyhow::Error),
Expand Down

0 comments on commit 8f2d8f7

Please sign in to comment.