Skip to content

Commit a3cd6dc

Browse files
committed
Update version number to 0.6.12 and remove hardcoded service processor data in Get-AbrOntapNodesSP function
1 parent e75100e commit a3cd6dc

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

Src/Private/Get-AbrOntapNodesSP.ps1

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrOntapNodesSP {
55
.DESCRIPTION
66
77
.NOTES
8-
Version: 0.6.7
8+
Version: 0.6.12
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -25,27 +25,6 @@ function Get-AbrOntapNodesSP {
2525
process {
2626
try {
2727
$ServiceProcessor = Get-NcServiceProcessor -Controller $Array
28-
29-
$ServiceProcessor = @(
30-
@{
31-
Node = "cluster-01"
32-
Type = "sp"
33-
IpAddress = "192.168.5.43"
34-
MacAddress = "00:0c:29:3e:5b:7c"
35-
IsIpConfigured = "true"
36-
FirmwareVersion = "2.5"
37-
Status = "online"
38-
},
39-
@{
40-
Node = "cluster-02"
41-
Type = "sp"
42-
IpAddress = ""
43-
MacAddress = "00:0c:29:3e:5b:7f"
44-
IsIpConfigured = "false"
45-
FirmwareVersion = "2.5"
46-
Status = "offline"
47-
}
48-
)
4928
if ($ServiceProcessor) {
5029
foreach ($NodeSPs in $ServiceProcessor) {
5130
Section -ExcludeFromTOC -Style NOTOCHeading5 $NodeSPs.Node {

0 commit comments

Comments
 (0)