Skip to content

Commit d10326d

Browse files
committed
Refactor VLAN data retrieval to improve readability by removing unnecessary variable assignment
1 parent d0fdc71 commit d10326d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/Public/Invoke-AsBuiltReport.NetApp.ONTAP.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
300300
Paragraph "The following section provides Network VLAN information in $($ClusterInfo.ClusterName)."
301301
BlankLine
302302
$Nodes = Get-NcNode -Controller $Array
303-
$VLANDataObj = foreach ($Node in $Nodes) {
303+
foreach ($Node in $Nodes) {
304304
if (Get-NcNetPortVlan -Node $Node -Controller $Array) {
305305
Section -Style Heading4 "$Node Vlans" {
306306
Get-AbrOntapNetworkVlan -Node $Node

0 commit comments

Comments
 (0)