3 redefined lines

This commit is contained in:
CPbN 2020-01-14 19:08:32 +01:00
parent dd6765e7f0
commit fe0cb042cb
1 changed files with 0 additions and 3 deletions

View File

@ -125,9 +125,6 @@ sub build_options_for_httplib {
$self->{option_results}->{port} = $self->{port};
$self->{option_results}->{proto} = $self->{proto};
$self->{option_results}->{timeout} = $self->{timeout};
$self->{option_results}->{warning_status} = '';
$self->{option_results}->{critical_status} = '';
$self->{option_results}->{unknown_status} = '%{http_code} < 200 or %{http_code} >= 300';
if (defined($self->{username}) && $self->{username} ne '') {
$self->{option_results}->{credentials} = 1;