Skip to content

Commit

Permalink
fix(backend): fix analyzer rule error description (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc committed Jul 11, 2023
1 parent 3a1ffc8 commit 234dd1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/linter/analyzer/analyzer_metadata.go
Expand Up @@ -127,7 +127,7 @@ var (
ID: EnforceHttpsProtocolRuleID,
Name: "Secure HTTPS Protocol",
Description: "Enforce usage of secure protocol for HTTP server spans",
ErrorDescription: "The following spans are using insecure http protocol:",
ErrorDescription: "The following attributes are using insecure http protocol:",
Tips: []string{},
Weight: 30,
ErrorLevel: "error",
Expand Down
2 changes: 1 addition & 1 deletion server/linter/analyzer/analyzer_repository_test.go
Expand Up @@ -112,7 +112,7 @@ func TestLinterResource(t *testing.T) {
"weight": 30,
"errorLevel": "error",
"name": "Secure HTTPS Protocol",
"errorDescription": "The following spans are using insecure http protocol:",
"errorDescription": "The following attributes are using insecure http protocol:",
"description": "Enforce usage of secure protocol for HTTP server spans",
"tips": []
},
Expand Down

0 comments on commit 234dd1e

Please sign in to comment.