diff options
author | 2023-08-10 23:06:48 +0800 | |
---|---|---|
committer | 2023-08-10 11:06:48 -0400 | |
commit | 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch) | |
tree | f4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/template | |
parent | c657af467b4d5a81fdd296f0917213db71a3dd6d (diff) | |
download | coredns-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/template')
-rw-r--r-- | plugin/template/cname_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/template/cname_test.go b/plugin/template/cname_test.go index c7e81df23..6ce6d7d2d 100644 --- a/plugin/template/cname_test.go +++ b/plugin/template/cname_test.go @@ -46,10 +46,10 @@ func TestTruncatedCNAME(t *testing.T) { _, err := handler.ServeDNS(context.TODO(), w, r) if err != nil { - t.Fatalf("Unexpecetd error %q", err) + t.Fatalf("Unexpected error %q", err) } if w.Msg == nil { - t.Fatalf("Unexpecetd empty response.") + t.Fatalf("Unexpected empty response.") } if !w.Msg.Truncated { t.Error("Expected reply to be marked truncated.") |