wip netapp santricity

This commit is contained in:
garnier-quentin 2020-05-06 17:30:13 +02:00
parent 095481e15b
commit 48196b9d97
1 changed files with 1 additions and 1 deletions

View File

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