Skip to content

Commit

Permalink
Merge pull request #116 from Cray-HPE/CASMTRIAGE-5914
Browse files Browse the repository at this point in the history
Fix HSN NIC numbering
  • Loading branch information
alvarez3-hpe authored Aug 21, 2023
2 parents a2d9dd3 + 9867ed6 commit 990e937
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.58.3
1.58.4
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.58.4] - 2023-08-21

### Fixed

- Fixed bug in HSN NIC numbering.

## [1.58.3] - 2023-04-12

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions pkg/redfish/rfcomponents-hpe.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ func (ep *RedfishEP) getHpeDeviceOrdinal(d *EpHpeDevice) int {
// Cassini shows as HPE instead of BEI in Proliant iLO redfish
// implementations so we check for both just incase this changes
// in the future.
if strings.Contains(strings.ToLower(d.DeviceRF.Manufacturer), "mellanox") ||
strings.Contains(strings.ToLower(d.DeviceRF.Manufacturer), "hpe") ||
strings.Contains(strings.ToLower(d.DeviceRF.Manufacturer), "bei") {
if strings.Contains(strings.ToLower(device.DeviceRF.Manufacturer), "mellanox") ||
strings.Contains(strings.ToLower(device.DeviceRF.Manufacturer), "hpe") ||
strings.Contains(strings.ToLower(device.DeviceRF.Manufacturer), "bei") {
dsOIDs = append(dsOIDs, oid)
}
} else {
Expand Down

0 comments on commit 990e937

Please sign in to comment.