Skip to content

Commit

Permalink
fix: update Publish-NsxtTier0BgpStatus
Browse files Browse the repository at this point in the history
- Updates `Publish-NsxtTier0BgpStatus` to format the HTML correctly in the event that $nsxtTier0BgpStatus.Count for a workload domain is not greater than 0.
- Updates module version to v2.1.0.1006.
- Updates the `CHANGELOG.md`.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
Ryan Johnson committed May 3, 2023
1 parent 8916d84 commit 61029e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

> Release Date: Unreleased
Bug Fixes:

- Updates `Publish-NsxtTier0BgpStatus` to correctly format the HTML output if the NSX Tier-0 is not configured for BGP. [GH-134](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/pull/134)

Enhancement:

- Added `Publish-HardwareCompatibilityHealth` to return the hardware compatibilty health from the SoS Health Summary JSON data. [GH-129](https://github.com/vmware/powershell-module-for-vmware-cloud-foundation-reporting/pull/129)
Expand Down
2 changes: 1 addition & 1 deletion VMware.CloudFoundation.Reporting.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = '.\VMware.CloudFoundation.Reporting.psm1'

# Version number of this module.
ModuleVersion = '2.1.0.1005'
ModuleVersion = '2.1.0.1006'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
1 change: 1 addition & 0 deletions VMware.CloudFoundation.Reporting.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2974,6 +2974,7 @@ Function Publish-NsxtTier0BgpStatus {
$allNsxtTier0BgpStatusObject = Convert-CssClass -htmldata $allNsxtTier0BgpStatusObject
} else {
$allNsxtTier0BgpStatusObject = $allNsxtTier0BgpStatusObject | ConvertTo-Html -Fragment -PreContent '<a id="nsx-t0-bgp"></a><h3>NSX Tier-0 Gateway BGP Status</h3>' -PostContent '<p>No BGP configuration found on NSX Tier-0 Gateway(s).</p>' -As Table
$allNsxtTier0BgpStatusObject = Convert-CssClass -htmldata $allNsxtTier0BgpStatusObject
}
$allNsxtTier0BgpStatusObject
}
Expand Down

0 comments on commit 61029e5

Please sign in to comment.