aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/external_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugin/kubernetes/external_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/kubernetes/external_test.go b/plugin/kubernetes/external_test.go
index 7ccbb2798..d31b49066 100644
--- a/plugin/kubernetes/external_test.go
+++ b/plugin/kubernetes/external_test.go
@@ -1,6 +1,7 @@
package kubernetes
import (
+ "context"
"testing"
"github.com/coredns/coredns/plugin/etcd/msg"
@@ -86,7 +87,7 @@ func (external) SvcIndexReverse(string) []*object.Service { return nil }
func (external) Modified() int64 { return 0 }
func (external) EpIndex(s string) []*object.Endpoints { return nil }
func (external) EndpointsList() []*object.Endpoints { return nil }
-func (external) GetNodeByName(name string) (*api.Node, error) { return nil, nil }
+func (external) GetNodeByName(ctx context.Context, name string) (*api.Node, error) { return nil, nil }
func (external) SvcIndex(s string) []*object.Service { return svcIndexExternal[s] }
func (external) PodIndex(string) []*object.Pod { return nil }