3 redefined lines
This commit is contained in:
parent
dd6765e7f0
commit
fe0cb042cb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue