diff options
author | 2020-03-30 11:10:41 -0700 | |
---|---|---|
committer | 2020-03-30 11:10:41 -0700 | |
commit | ebbfffaf9df7bdf3bab39c587441e9460aa4f9ef (patch) | |
tree | 7cee159d9c690122b02554c2eb8d5038099dacd5 /plugin/kubernetes/external_test.go | |
parent | 8bbfa19223e7585084acfee58bf7a611ecb4a3d3 (diff) | |
download | coredns-ebbfffaf9df7bdf3bab39c587441e9460aa4f9ef.tar.gz coredns-ebbfffaf9df7bdf3bab39c587441e9460aa4f9ef.tar.zst coredns-ebbfffaf9df7bdf3bab39c587441e9460aa4f9ef.zip |
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 <yong.tang.github@outlook.com>
* Fix test failures
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix failed tests
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Fix test failure
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin/kubernetes/external_test.go')
-rw-r--r-- | plugin/kubernetes/external_test.go | 3 |
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 } |