diff --git a/CHANGELOG.md b/CHANGELOG.md index 5771e102..5e40b78d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ -# CHANGELOG +# Release History + +## v2.2.0 (Unreleases) + +> Release Date: Unreleased + +Bugfix: + +- Updates `Publish-StorageCapacityHealth` to correct [GH-147](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/issues/147). [GH-148](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/pull/148) + ## [v2.1.0](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/releases/tag/v2.1.0) diff --git a/VMware.CloudFoundation.Reporting.psd1 b/VMware.CloudFoundation.Reporting.psd1 index 60d792c9..bd797d82 100644 --- a/VMware.CloudFoundation.Reporting.psd1 +++ b/VMware.CloudFoundation.Reporting.psd1 @@ -3,7 +3,7 @@ # # Generated by: Gary Blake, Cloud Infrastructure Business Group (CIBG) # -# Generated on: 05/30/2023 +# Generated on: 06/27/2023 # @{ @@ -12,7 +12,7 @@ RootModule = '.\VMware.CloudFoundation.Reporting.psm1' # Version number of this module. - ModuleVersion = '2.1.0.1011' + ModuleVersion = '2.2.0.1000' # Supported PSEditions # CompatiblePSEditions = @() @@ -129,4 +129,4 @@ # DefaultCommandPrefix = '' } - \ No newline at end of file + diff --git a/VMware.CloudFoundation.Reporting.psm1 b/VMware.CloudFoundation.Reporting.psm1 index 9ca016a1..6d81ead8 100644 --- a/VMware.CloudFoundation.Reporting.psm1 +++ b/VMware.CloudFoundation.Reporting.psm1 @@ -3719,6 +3719,9 @@ Function Publish-StorageCapacityHealth { $allWorkloadDomains = Get-VCFWorkloadDomain $singleWorkloadDomain = Get-VCFWorkloadDomain | Where-Object {$_.name -eq $workloadDomain} $allStorageCapacityHealth = New-Object System.Collections.ArrayList + $allVcenterStorageHealth = New-Object System.Collections.ArrayList + $allEsxiStorageCapacity = New-Object System.Collections.ArrayList + $allDatastoreStorageCapacity = New-Object System.Collections.ArrayList if ($PsBoundParameters.ContainsKey("allDomains")) { if ($PsBoundParameters.ContainsKey("failureOnly")) {