From ebbfffaf9df7bdf3bab39c587441e9460aa4f9ef Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Mon, 30 Mar 2020 11:10:41 -0700 Subject: Update k8s.io/[api|apimachinery|client-go] to v0.18.0 (#3796) * Update k8s.io/[api|apimachinery|client-go] to v0.18.0 This PR updates k8s.io/[api|apimachinery|client-go] to v0.18.0 This PR closes 3791 This PR closes 3792 This PR closes 3793 Signed-off-by: Yong Tang * Fix test failures Signed-off-by: Yong Tang * Fix failed tests Signed-off-by: Yong Tang * Fix test failure Signed-off-by: Yong Tang --- plugin/kubernetes/external_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin/kubernetes/external_test.go') 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 } -- cgit v1.2.3