golangci-lint: minimal changes to make make lint pass again

This commit is contained in:
Christian Schwarz
2026-01-20 22:01:44 +00:00
parent b4b16f7bca
commit 899e23762a
9 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func TestInvalidSampleConfigsFailToParse(t *testing.T) {
// template must be a template/text template with a single '{{ . }}' as placeholder for val
//
//nolint:deadcode,unused
//nolint:unused
func testValidConfigTemplate(t *testing.T, tmpl string, val string) *Config {
tmp, err := template.New("master").Parse(tmpl)
if err != nil {