mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 01:04:15 -04:00
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
This commit is contained in:
2
plugin/cache/cache_test.go
vendored
2
plugin/cache/cache_test.go
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user