File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ func Test_SetLinterWarningsMetrics_AddsWarningsForAllLinters(t *testing.T) {
2323 NoCyrillic : global.LinterConfig {Impact : pkg .Warn .String ()},
2424 OpenAPI : global.LinterConfig {Impact : pkg .Warn .String ()},
2525 Rbac : global.LinterConfig {Impact : pkg .Warn .String ()},
26- Templates : global.LinterConfig { Impact : pkg . Warn . String () },
26+ Templates : global.TemplatesLinterConfig { },
2727 Documentation : global.DocumentationLinterConfig {},
2828 },
2929 }
@@ -32,6 +32,7 @@ func Test_SetLinterWarningsMetrics_AddsWarningsForAllLinters(t *testing.T) {
3232 cfg .Linters .Images .Impact = pkg .Warn .String ()
3333 cfg .Linters .Module .Impact = pkg .Warn .String ()
3434 cfg .Linters .Documentation .Impact = pkg .Warn .String ()
35+ cfg .Linters .Templates .Impact = pkg .Warn .String ()
3536
3637 SetLinterWarningsMetrics (cfg )
3738 num , err := testutil .GatherAndCount (metrics .Gatherer , "dmt_linter_info" )
You can’t perform that action at this time.
0 commit comments