From dc8b722ba494eaf151bd964b69d1a7d83dc992ec Mon Sep 17 00:00:00 2001 From: Sims24 Date: Mon, 23 May 2016 14:46:12 +0200 Subject: [PATCH] + fix typo threshold --- network/citrix/netscaler/common/mode/vserverstatus.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/citrix/netscaler/common/mode/vserverstatus.pm b/network/citrix/netscaler/common/mode/vserverstatus.pm index be3e857bb..ba459818e 100644 --- a/network/citrix/netscaler/common/mode/vserverstatus.pm +++ b/network/citrix/netscaler/common/mode/vserverstatus.pm @@ -167,12 +167,12 @@ sub check_options { } 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) = ('vs', $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(); } $overload_th->{$section} = [] if (!defined($overload_th->{$section}));