Skip to content

Commit 989eb3f

Browse files
kmcrawfordgcmurphy
authored andcommitted
Update Hound errors
1 parent ddfe54d commit 989eb3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

output/formatter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ func reportSonarqube(rootPath string, w io.Writer, data *reportInfo) error {
112112
endLine, _ = strconv.Atoi(lines[1])
113113
}
114114
s := sonarIssue{
115-
EngineId: "gosec",
116-
RuleId: issue.RuleID,
115+
EngineID: "gosec",
116+
RuleID: issue.RuleID,
117117
PrimaryLocation: location{
118118
Message: issue.What,
119119
FilePath: strings.Replace(issue.File, rootPath+"/", "", 1),

output/sonarqube_format.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ type location struct {
1313
}
1414

1515
type sonarIssue struct {
16-
EngineId string `json:"engineId"`
17-
RuleId string `json:"ruleId"`
16+
EngineID string `json:"engineId"`
17+
RuleID string `json:"ruleId"`
1818
PrimaryLocation location `json:"primaryLocation"`
1919
Type string `json:"type"`
2020
Severity string `json:"severity"`

0 commit comments

Comments
 (0)