aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/reload_test.go
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2020-07-08 09:00:26 -0700
committerGravatar GitHub <noreply@github.com> 2020-07-08 09:00:26 -0700
commit614d08cba29ed4904d11008e795c081c4f392b77 (patch)
treee4601abda23ec9d18e2929433c260a37928e1344 /plugin/file/reload_test.go
parent68f1dd5ddf0451cc3a1b24a72c2965b8d896ffba (diff)
downloadcoredns-614d08cba29ed4904d11008e795c081c4f392b77.tar.gz
coredns-614d08cba29ed4904d11008e795c081c4f392b77.tar.zst
coredns-614d08cba29ed4904d11008e795c081c4f392b77.zip
Revert "Implement notifies for transfer plugin (#3972)" (#3995)
This reverts commit 68f1dd5ddf0451cc3a1b24a72c2965b8d896ffba. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin/file/reload_test.go')
-rw-r--r--plugin/file/reload_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/file/reload_test.go b/plugin/file/reload_test.go
index 0c644d484..f9e544372 100644
--- a/plugin/file/reload_test.go
+++ b/plugin/file/reload_test.go
@@ -9,7 +9,6 @@ import (
"time"
"github.com/coredns/coredns/plugin/test"
- "github.com/coredns/coredns/plugin/transfer"
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
@@ -31,7 +30,7 @@ func TestZoneReload(t *testing.T) {
}
z.ReloadInterval = 500 * time.Millisecond
- z.Reload(&transfer.Transfer{})
+ z.Reload()
time.Sleep(time.Second)
ctx := context.TODO()