aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/cname_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/file/cname_test.go')
-rw-r--r--plugin/file/cname_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/file/cname_test.go b/plugin/file/cname_test.go
index f3b3a7731..1dcc491ae 100644
--- a/plugin/file/cname_test.go
+++ b/plugin/file/cname_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"github.com/coredns/coredns/plugin/pkg/dnstest"
- "github.com/coredns/coredns/plugin/proxy"
+ "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/coredns/coredns/plugin/test"
"github.com/miekg/dns"
@@ -74,7 +74,7 @@ func TestLookupCNAMEExternal(t *testing.T) {
if err != nil {
t.Fatalf("Expected no error when reading zone, got %q", err)
}
- zone.Proxy = proxy.NewLookup([]string{"8.8.8.8:53"}) // TODO(miek): point to local instance
+ zone.Upstream, _ = upstream.NewUpstream([]string{"8.8.8.8:53"}) // TODO(miek): point to local instance
fm := File{Next: test.ErrorHandler(), Zones: Zones{Z: map[string]*Zone{name: zone}, Names: []string{name}}}
ctx := context.TODO()