Skip to content

Commit 9e2d5bf

Browse files
committed
Fix for unsupported controller conection
1 parent b63b5e7 commit 9e2d5bf

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
@@ -381,7 +381,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
381381
BlankLine
382382
Get-AbrOntapVserverNFSOptions -Vserver $SVM
383383
}
384-
if (Get-NcVserver -VserverContext $SVM -Controller $Array | Where-Object { $_.VserverType -eq 'data' -and $_.AllowedProtocols -eq 'nfs' -and $_.State -eq 'running' } | Get-NcNfsExport -Controller $Array) {
384+
if (Get-NcVserver -VserverContext $SVM -Controller $Array | Where-Object { $_.VserverType -eq 'data' -and $_.AllowedProtocols -eq 'nfs' -and $_.State -eq 'running' } | Get-NcNfsExport) {
385385
Section -Style Heading6 "NFS Volume Export Summary" {
386386
Paragraph "The following section provides the VServer NFS Service Exports Information on $($SVM)."
387387
BlankLine

0 commit comments

Comments
 (0)