Skip to content

Commit 5b718d2

Browse files
committed
More Fixes for rule PSUseSingularNouns
1 parent f28d547 commit 5b718d2

7 files changed

+12
-12
lines changed

Src/Private/Get-AbrOntapNetworkRoute.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapNetworkRoutes {
1+
function Get-AbrOntapNetworkRoute {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP network Route information from the Cluster Management Network

Src/Private/Get-AbrOntapNetworkRouteLifs.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapNetworkRouteLifs {
1+
function Get-AbrOntapNetworkRouteLif {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP network route per lif information from the Cluster Management Network

Src/Private/Get-AbrOntapNetworkVlans.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapNetworkVlans {
1+
function Get-AbrOntapNetworkVlan {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP Interface VLAN information from the Cluster Management Network

Src/Private/Get-AbrOntapVserverNFSOptions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapVserverNFSOptions {
1+
function Get-AbrOntapVserverNFSOption {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP Vserver NFS Options information from the Cluster Management Network

Src/Private/Get-AbrOntapVserverVolumes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapVserverVolumes {
1+
function Get-AbrOntapVserverVolume {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP vserver volumes information from the Cluster Management Network

Src/Private/Get-AbrOntapVserverVolumesQos.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function Get-AbrOntapVserverVolumesQos {
1+
function Get-AbrOntapVserverVolumesQosSetting {
22
<#
33
.SYNOPSIS
44
Used by As Built Report to retrieve NetApp ONTAP vserver volumes qos information from the Cluster Management Network

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
221221
Section -Style Heading4 "$Node Vlans" {
222222
Paragraph "The following section provides the Vlan information on $($ClusterInfo.ClusterName)."
223223
BlankLine
224-
Get-AbrOntapNetworkVlans -Node $Node
224+
Get-AbrOntapNetworkVlan -Node $Node
225225
}
226226
}
227227
}
@@ -248,11 +248,11 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
248248
Section -Style Heading4 "$SVM Vserver Routes" {
249249
Paragraph "The following section provides the Routes information on $($ClusterInfo.ClusterName)."
250250
BlankLine
251-
Get-AbrOntapNetworkRoutes -Vserver $SVM
251+
Get-AbrOntapNetworkRoute -Vserver $SVM
252252
Section -Style Heading5 "Network Interface Routes" {
253253
Paragraph "The following section provides the Per Network Interface Routes information on $($SVM)."
254254
BlankLine
255-
Get-AbrOntapNetworkRouteLifs -Vserver $SVM
255+
Get-AbrOntapNetworkRouteLif -Vserver $SVM
256256
}
257257
}
258258
}
@@ -300,12 +300,12 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
300300
Section -Style Heading4 "Storage Volumes" {
301301
Paragraph "The following section provides $SVM Volumes Information on $($SVM)."
302302
BlankLine
303-
Get-AbrOntapVserverVolumes -Vserver $SVM
303+
Get-AbrOntapVserverVolume -Vserver $SVM
304304
if (Get-NcVol -VserverContext $SVM -Controller $Array | Select-Object -ExpandProperty VolumeQosAttributes) {
305305
Section -Style Heading4 "Per Volumes QoS Policy" {
306306
Paragraph "The following section provides the Vserver per Volumes QoS Configuration on $($SVM)."
307307
BlankLine
308-
Get-AbrOntapVserverVolumesQos -Vserver $SVM
308+
Get-AbrOntapVserverVolumesQosSetting -Vserver $SVM
309309
}
310310
}
311311
if (Get-NcVol -VserverContext $SVM -Controller $Array | Where-Object {$_.JunctionPath -ne '/' -and $_.Name -ne 'vol0' -and $_.VolumeStateAttributes.IsFlexgroup -eq "True"}) {
@@ -375,7 +375,7 @@ function Invoke-AsBuiltReport.NetApp.ONTAP {
375375
Section -Style Heading6 "NFS Options" {
376376
Paragraph "The following section provides the NFS Service Options Information on $($SVM)."
377377
BlankLine
378-
Get-AbrOntapVserverNFSOptions -Vserver $SVM
378+
Get-AbrOntapVserverNFSOption -Vserver $SVM
379379
}
380380
if (Get-NcVserver -VserverContext $SVM -Controller $Array | Where-Object { $_.VserverType -eq 'data' -and $_.AllowedProtocols -eq 'nfs' -and $_.State -eq 'running' } | Get-NcNfsExport) {
381381
Section -Style Heading6 "NFS Volume Export" {

0 commit comments

Comments
 (0)