Skip to content

Commit 6005c01

Browse files
committed
Misc Fixes
1 parent 3215210 commit 6005c01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Src/Private/Get-AbrOntapCluster.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ function Get-AbrOntapCluster {
3434
'Cluster UUID' = $ClusterInfo.ClusterUuid
3535
'Cluster Serial' = $ClusterInfo.ClusterSerialNumber
3636
'Cluster Controller' = $ClusterInfo.NcController
37-
'Cluster Contact' = $ClusterInfo.ClusterContact
38-
'Cluster Location' = $ClusterInfo.ClusterLocation
37+
'Cluster Contact' = ConvertTo-EmptyToFiller $ClusterInfo.ClusterContact
38+
'Cluster Location' = ConvertTo-EmptyToFiller $ClusterInfo.ClusterLocation
3939
'Ontap Version' = $ClusterVersion.value
4040
'Number of Aggregates' = $ArrayAggr.count
4141
'Number of Volumes' = $ArrayVolumes.count

Src/Private/Get-AbrOntapClusterLicense.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Get-AbrOntapClusterLicense {
4040
}
4141
}
4242
if ($Healthcheck.License.RiskSummary) {
43-
$LicenseSummary | Where-Object { $_.'Risk' -like 'medium' -or $_.'Risk' -like 'unknown' } | Set-Style -Style Warning -Property 'Risk'
43+
$LicenseSummary | Where-Object { $_.'Risk' -like 'medium' -or $_.'Risk' -like 'unknown' -or $_.'Risk' -like 'unlicensed' } | Set-Style -Style Warning -Property 'Risk'
4444
$LicenseSummary | Where-Object { $_.'Risk' -like 'High' } | Set-Style -Style Critical -Property 'Risk'
4545
}
4646
$TableParams = @{

0 commit comments

Comments
 (0)