From c2dbb7141a7c95aa521a41b27bed3af25de8f546 Mon Sep 17 00:00:00 2001 From: Ondřej Benkovský Date: Sun, 10 Jul 2022 20:06:33 +0200 Subject: add golangci-lint linter (#5499) --- plugin/tsig/setup_test.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugin/tsig/setup_test.go') diff --git a/plugin/tsig/setup_test.go b/plugin/tsig/setup_test.go index 00966bf09..0d7433996 100644 --- a/plugin/tsig/setup_test.go +++ b/plugin/tsig/setup_test.go @@ -12,7 +12,6 @@ import ( ) func TestParse(t *testing.T) { - secrets := map[string]string{ "name.key.": "test-key", "name2.key.": "test-key-2", @@ -150,7 +149,6 @@ key "name2.key." { break } } - } } @@ -243,6 +241,5 @@ func TestParseKeyFileErrors(t *testing.T) { if err.Error() != testcase.err { t.Errorf("Test %d: Expected error: %q, got %q", i, testcase.err, err.Error()) } - } } -- cgit v1.2.3