From 505c6292d88ce7d206b0beb219f2de0001b1c4af Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 23 May 2016 14:15:32 +0200 Subject: [PATCH] + fix little mistype on filters --- centreon-plugins/apps/github/mode/status.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon-plugins/apps/github/mode/status.pm b/centreon-plugins/apps/github/mode/status.pm index 73cdfea3d..59cbd290a 100644 --- a/centreon-plugins/apps/github/mode/status.pm +++ b/centreon-plugins/apps/github/mode/status.pm @@ -65,12 +65,12 @@ sub check_options { $self->{overload_th} = {}; foreach my $val (@{$self->{option_results}->{threshold_overload}}) { if ($val !~ /^(.*?),(.*)$/) { - $self->{output}->add_option_msg(short_msg => "Wrong treshold-overload option '" . $val . "'."); + $self->{output}->add_option_msg(short_msg => "Wrong threshold-overload option '" . $val . "'."); $self->{output}->option_exit(); } my ($section, $status, $filter) = ('status', $1, $2); if ($self->{output}->is_litteral_status(status => $status) == 0) { - $self->{output}->add_option_msg(short_msg => "Wrong treshold-overload status '" . $val . "'."); + $self->{output}->add_option_msg(short_msg => "Wrong threshold-overload status '" . $val . "'."); $self->{output}->option_exit(); } $self->{overload_th}->{$section} = [] if (!defined($self->{overload_th}->{$section}));