aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/ns_test.go
diff options
context:
space:
mode:
authorGravatar Zou Nengren <zounengren@cmss.chinamobile.com> 2020-06-24 22:48:39 +0800
committerGravatar GitHub <noreply@github.com> 2020-06-24 07:48:39 -0700
commit86475927866f4b736039faa4ed6f5455405472ca (patch)
treef905697ddb25130890860915ba225bfa0b6cbcfa /plugin/kubernetes/ns_test.go
parentf4a1a0fe8a2726db040b69449450a686431d3d20 (diff)
downloadcoredns-86475927866f4b736039faa4ed6f5455405472ca.tar.gz
coredns-86475927866f4b736039faa4ed6f5455405472ca.tar.zst
coredns-86475927866f4b736039faa4ed6f5455405472ca.zip
format and add newline (#3969)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
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
}