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…
Reference in New Issue