Log errors arising from reading resolv.conf

This commit is contained in:
Bryan Boreham committed 2016-07-11 12:08:04 +01:00
1 parent f8ac27a6cc
commit 7c47a8ffb7
3 files changed
+17 -9

No files matched your search

+2 -2
View File
@@ -19,8 +19,8 @@ type mockUpstream struct {
config *dns.ClientConfig
}
func (mu *mockUpstream) Config() *dns.ClientConfig {
return mu.config
func (mu *mockUpstream) Config() (*dns.ClientConfig, error) {
return mu.config, nil
}
func startServer(t *testing.T, upstream *dns.ClientConfig) (*DNSServer, *Nameserver, int, int) {