mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
+ Fix p2000 error from http enhance
This commit is contained in:
parent
aed5ed9304
commit
7a517be8b8
@ -177,7 +177,6 @@ sub DESTROY {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
if ($self->{logon} == 1) {
|
if ($self->{logon} == 1) {
|
||||||
$self->{option_results}->{url_path} = ;
|
|
||||||
$self->{http}->request(url_path => $self->{url_path} . 'exit',
|
$self->{http}->request(url_path => $self->{url_path} . 'exit',
|
||||||
header => ['dataType: api', 'sessionKey: ' . $self->{session_id}]);
|
header => ['dataType: api', 'sessionKey: ' . $self->{session_id}]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user