wip netapp santricity

This commit is contained in:
garnier-quentin 2020-05-06 17:45:24 +02:00
parent 569eb01895
commit a3cac407f8
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ sub execute_storages_request {
next if (defined($options{filter_name}) && $options{filter_name} ne '' &&
$storages->{storages}->[$i]->{name} !~ /$options{filter_name}/);
my $info = $self->request_api(name => 'info', endpoint => '/' . $storages->{storages}->[$i]->{wwn} . $options{endpoint});
my $info = $self->request_api(name => 'info', endpoint => '/storage-systems/' . $storages->{storages}->[$i]->{wwn} . $options{endpoint});
$storages->{storages}->[$i]->{offline} = 0;
$storages->{storages}->[$i]->{offline} = 1 if (!defined($info));