aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/ns_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/kubernetes/ns_test.go')
-rw-r--r--plugin/kubernetes/ns_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/kubernetes/ns_test.go b/plugin/kubernetes/ns_test.go
index 4e767f092..0dc55f489 100644
--- a/plugin/kubernetes/ns_test.go
+++ b/plugin/kubernetes/ns_test.go
@@ -103,7 +103,9 @@ func (APIConnTest) EpIndexReverse(ip string) []*object.Endpoints {
return eps
}
-func (APIConnTest) GetNodeByName(ctx context.Context, name string) (*api.Node, error) { return &api.Node{}, nil }
+func (APIConnTest) GetNodeByName(ctx context.Context, name string) (*api.Node, error) {
+ return &api.Node{}, nil
+}
func (APIConnTest) GetNamespaceByName(name string) (*api.Namespace, error) {
return &api.Namespace{}, nil
}