(plugin) storage::netapp::ontap::restapi - fix quotas (#4210)

This commit is contained in:
qgarnier 2023-02-09 17:25:12 +00:00 committed by GitHub
parent dd5194a7e6
commit 01e2220fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -278,14 +278,14 @@ sub manage_selection {
$qtree !~ /$self->{option_results}->{filter_qtree}/);
next if ($volume ne '' && defined($self->{option_results}->{filter_volume}) && $self->{option_results}->{filter_volume} ne '' &&
$volume !~ /$self->{option_results}->{filter_volume}/);
next if ($vserver ne '' &&defined($self->{option_results}->{filter_vserver}) && $self->{option_results}->{filter_vserver} ne '' &&
next if ($vserver ne '' && defined($self->{option_results}->{filter_vserver}) && $self->{option_results}->{filter_vserver} ne '' &&
$vserver !~ /$self->{option_results}->{filter_vserver}/);
my $path = $vserver . $volume . $qtree;
$self->{duplicated}->{$path} = 0 if (!defined($self->{duplicated}->{$path}));
$self->{duplicated}->{$path}++;
$self->{quotas}->{$index} = {
$self->{quotas}->{$path . $index} = {
index => $index,
qtree => $qtree,
volume => $volume,