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:
parent
c657af467b
commit
2fe5890d8b
13 changed files with 20 additions and 19 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue