Skip to content

Commit

Permalink
Merge pull request #22 from bmc-toolbox/format-amd
Browse files Browse the repository at this point in the history
constants/FormatVendorName: include vendor AMD
  • Loading branch information
joelrebel authored Oct 31, 2024
2 parents eaf3a82 + 6922e94 commit 6b96e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ func FormatVendorName(name string) string {
}

switch {
case strings.Contains(v, VendorAMD):
return VendorAMD
case strings.Contains(v, VendorAsrockrack):
return VendorAsrockrack
case strings.Contains(v, VendorDell):
Expand Down

0 comments on commit 6b96e59

Please sign in to comment.