fix hp oneview

This commit is contained in:
garnier-quentin 2019-09-26 09:12:41 +02:00
parent b89c36472f
commit 26cba926b5
2 changed files with 2 additions and 1 deletions

View File

@ -200,6 +200,7 @@ sub authenticate {
}
$self->{session_id} = $session_id;
$self->{http}->add_header(key => 'Auth', value => $self->{session_id});
}
sub request_api {

View File

@ -132,7 +132,7 @@ sub manage_selection {
no_quit => 1,
);
if ($code == 0) {
($results) = $self->{custom}->get_infos(
($result) = $options{custom}->get_infos(
cmd => 'show disk-groups',
base_type => 'disk-groups',
key => 'name',