aboutsummaryrefslogtreecommitdiff
path: root/test/cache_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-03-02 19:35:44 +0000
committerGravatar GitHub <noreply@github.com> 2017-03-02 19:35:44 +0000
commit6966bce653a1a866c2a8fc3f8b5bcccf123a046d (patch)
tree6e5e0090f19cdf33996579a494e24147e5c46df1 /test/cache_test.go
parenta3f7788686a3833677b5c86da90d70604637d307 (diff)
downloadcoredns-6966bce653a1a866c2a8fc3f8b5bcccf123a046d.tar.gz
coredns-6966bce653a1a866c2a8fc3f8b5bcccf123a046d.tar.zst
coredns-6966bce653a1a866c2a8fc3f8b5bcccf123a046d.zip
Fix resolving CNAME with no proxy (#564)
This fixes a crash when we resolve (or try to) an external CNAME when no proxy is set. Add test as well.
Diffstat (limited to 'test/cache_test.go')
-rw-r--r--test/cache_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cache_test.go b/test/cache_test.go
index f3b752617..43ef29efb 100644
--- a/test/cache_test.go
+++ b/test/cache_test.go
@@ -18,7 +18,7 @@ func TestLookupCache(t *testing.T) {
// Start auth. CoreDNS holding the auth zone.
name, rm, err := test.TempFile(".", exampleOrg)
if err != nil {
- t.Fatalf("failed to created zone: %s", err)
+ t.Fatalf("failed to create zone: %s", err)
}
defer rm()