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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/cname_test.go b/plugin/file/cname_test.go
index 0bc907b1f..10eb7d934 100644
--- a/plugin/file/cname_test.go
+++ b/plugin/file/cname_test.go
@@ -74,7 +74,7 @@ func TestLookupCNAMEExternal(t *testing.T) {
if err != nil {
t.Fatalf("Expected no error when reading zone, got %q", err)
}
- zone.Upstream, _ = upstream.NewUpstream([]string{"8.8.8.8:53"}) // TODO(miek): point to local instance
+ zone.Upstream, _ = upstream.New([]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()