mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 07:05:06 +02:00
fix vmware vcsa
This commit is contained in:
parent
69697770c1
commit
745f63cfd3
@ -131,8 +131,6 @@ sub settings {
|
|||||||
$self->{http}->add_header(key => 'Accept', value => 'application/json;charset=UTF-8');
|
$self->{http}->add_header(key => 'Accept', value => 'application/json;charset=UTF-8');
|
||||||
if (defined($self->{session_id})) {
|
if (defined($self->{session_id})) {
|
||||||
$self->{http}->add_header(key => 'vmware-api-session-id', value => $self->{session_id});
|
$self->{http}->add_header(key => 'vmware-api-session-id', value => $self->{session_id});
|
||||||
} else {
|
|
||||||
$self->{http}->add_header(key => 'vmware-api-session-id', value => 'null');
|
|
||||||
}
|
}
|
||||||
$self->{http}->set_options(%{$self->{option_results}});
|
$self->{http}->set_options(%{$self->{option_results}});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user