Skip to content

Commit 3db7cec

Browse files
Merge pull request #16 from bmc-toolbox/add-x13dem
Add product x13dem
2 parents c9882db + f22ef53 commit 3db7cec

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ linters-settings:
1111
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
1212
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
1313
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
14-
golint:
15-
min-confidence: 0
1614
gocyclo:
1715
min-complexity: 10
1816
maligned:
@@ -57,19 +55,15 @@ linters:
5755
- ineffassign
5856
- stylecheck
5957
- misspell
60-
- deadcode
6158
- staticcheck
62-
- structcheck
6359
- unused
6460
- prealloc
6561
- typecheck
66-
- varcheck
6762
# additional linters
6863
- bodyclose
6964
- gocritic
7065
- goerr113
7166
- goimports
72-
- golint
7367
- gomnd
7468
- misspell
7569
- noctx

constants.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ func FormatProductName(s string) string {
211211
return "x12spo-ntf"
212212
case "Micron_5200_MTFDDAK480TDN":
213213
return "5200MAX"
214+
case "SYS-221H-TN24R":
215+
return "x13dem"
214216
default:
215217
return s
216218
}

0 commit comments

Comments
 (0)