aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/log
diff options
context:
space:
mode:
authorGravatar Zhizhen He <hezhizhen.yi@gmail.com> 2023-08-10 23:06:48 +0800
committerGravatar GitHub <noreply@github.com> 2023-08-10 11:06:48 -0400
commit2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch)
treef4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/pkg/log
parentc657af467b4d5a81fdd296f0917213db71a3dd6d (diff)
downloadcoredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.gz
coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.zst
coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.zip
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'plugin/pkg/log')
-rw-r--r--plugin/pkg/log/listener_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/pkg/log/listener_test.go b/plugin/pkg/log/listener_test.go
index 0df03b446..452d2b38d 100644
--- a/plugin/pkg/log/listener_test.go
+++ b/plugin/pkg/log/listener_test.go
@@ -11,7 +11,7 @@ func TestRegisterAndDeregisterListener(t *testing.T) {
for _, name := range []string{"listener1", "listener2", "listener1"} {
err := RegisterListener(NewMockListener(name))
if err != nil {
- t.Errorf("RegsiterListener Error %s", err)
+ t.Errorf("RegisterListener Error %s", err)
}
}
if len(ls.listeners) != 2 {
@@ -46,7 +46,7 @@ func testListenersCalled(t *testing.T, listenerNames []string, outputs []string)
for _, name := range listenerNames {
err := RegisterListener(NewMockListener(name))
if err != nil {
- t.Errorf("RegsiterListener Error %s", err)
+ t.Errorf("RegisterListener Error %s", err)
}
}
var f bytes.Buffer