Skip to content

Commit 6b96e59

Browse files
authored
Merge pull request #22 from bmc-toolbox/format-amd
constants/FormatVendorName: include vendor AMD
2 parents eaf3a82 + 6922e94 commit 6b96e59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

constants.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ func FormatVendorName(name string) string {
119119
}
120120

121121
switch {
122+
case strings.Contains(v, VendorAMD):
123+
return VendorAMD
122124
case strings.Contains(v, VendorAsrockrack):
123125
return VendorAsrockrack
124126
case strings.Contains(v, VendorDell):

0 commit comments

Comments
 (0)