aboutsummaryrefslogtreecommitdiff
path: root/plugin/k8s_external/external_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/k8s_external/external_test.go')
-rw-r--r--plugin/k8s_external/external_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/k8s_external/external_test.go b/plugin/k8s_external/external_test.go
index a83a2da72..1123c6f6f 100644
--- a/plugin/k8s_external/external_test.go
+++ b/plugin/k8s_external/external_test.go
@@ -159,7 +159,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 }