diff options
author | 2023-08-10 23:06:48 +0800 | |
---|---|---|
committer | 2023-08-10 11:06:48 -0400 | |
commit | 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch) | |
tree | f4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /plugin/cache/cache_test.go | |
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/cache/cache_test.go')
-rw-r--r-- | plugin/cache/cache_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/cache_test.go b/plugin/cache/cache_test.go index 5a023f400..629a83e34 100644 --- a/plugin/cache/cache_test.go +++ b/plugin/cache/cache_test.go @@ -671,7 +671,7 @@ func TestCacheWildcardMetadata(t *testing.T) { _, k := key(qname, w.Msg, response.NoError, state.Do()) i, _ := c.pcache.Get(k) if i.(*item).wildcard != wildcard { - t.Errorf("expected wildcard reponse to enter cache with cache item's wildcard = %q, got %q", wildcard, i.(*item).wildcard) + t.Errorf("expected wildcard response to enter cache with cache item's wildcard = %q, got %q", wildcard, i.(*item).wildcard) } // 2. Test retrieving the cached item from cache and writing its wildcard value to metadata |