mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
ServiceBackend interface (#369)
* Add ServiceBackend interface This adds a ServiceBackend interface that is shared between etcd/etcd3 (later) and kubernetes, leading to a massive reduction in code. When returning the specific records from their backend. Fixes #273
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
func TestProxyLookupFailDebug(t *testing.T) {
|
||||
etc := newEtcdMiddleware()
|
||||
etc.Proxy = proxy.New([]string{"127.0.0.1:154"})
|
||||
etc.Debug = true
|
||||
etc.Debugging = true
|
||||
|
||||
for _, serv := range servicesProxy {
|
||||
set(t, etc, serv.Key, 0, serv)
|
||||
|
||||
Reference in New Issue
Block a user