Skip to content

Commit 9bc287f

Browse files
authored
Fix codeql alerts
1 parent cd68542 commit 9bc287f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Src/Private/Get-AbrOntapVserverVolumesQosGPAdaptive.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ function Get-AbrOntapVserverVolumesQosGPAdaptive {
2929
if ($QoSFilter) {
3030
foreach ($Item in $QoSFilter) {
3131
try {
32-
$VolQoS = Get-NcVol $Item.Name -Controller $Array | Select-Object -ExpandProperty VolumeQosAttributes
3332
$inObj = [ordered] @{
3433
'Policy Name' = $Item.PolicyGroup
3534
'Peak Iops' = $Item.PeakIops
@@ -62,4 +61,4 @@ function Get-AbrOntapVserverVolumesQosGPAdaptive {
6261

6362
end {}
6463

65-
}
64+
}

0 commit comments

Comments
 (0)