aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2022-07-19 15:26:17 -0400
committerGravatar GitHub <noreply@github.com> 2022-07-19 15:26:17 -0400
commit11059dd855d2644facd3afd0f46a14c70201d1c1 (patch)
tree93b66b4e95d54cf972a24394e07c00af14b09c64
parentedbe02c0f91f0a9dae27164ab87115d59e76882d (diff)
downloadcoredns-11059dd855d2644facd3afd0f46a14c70201d1c1.tar.gz
coredns-11059dd855d2644facd3afd0f46a14c70201d1c1.tar.zst
coredns-11059dd855d2644facd3afd0f46a14c70201d1c1.zip
remove trailing empty lines per linter (#5526)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
-rw-r--r--plugin/pkg/log/listener.go1
-rw-r--r--plugin/pkg/log/listener_test.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/plugin/pkg/log/listener.go b/plugin/pkg/log/listener.go
index c1dda2cac..2dfe8155c 100644
--- a/plugin/pkg/log/listener.go
+++ b/plugin/pkg/log/listener.go
@@ -82,7 +82,6 @@ func (ls *listeners) info(plugin string, v ...interface{}) {
l.Info(plugin, v...)
}
ls.RUnlock()
-
}
func (ls *listeners) infof(plugin string, format string, v ...interface{}) {
diff --git a/plugin/pkg/log/listener_test.go b/plugin/pkg/log/listener_test.go
index f050dad69..0df03b446 100644
--- a/plugin/pkg/log/listener_test.go
+++ b/plugin/pkg/log/listener_test.go
@@ -65,7 +65,6 @@ func testListenersCalled(t *testing.T, listenerNames []string, outputs []string)
t.Errorf("DeregsiterListener Error %s", err)
}
}
-
}
type mockListener struct {