aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/ns_test.go
diff options
context:
space:
mode:
authorGravatar Guangming Wang <guangming.wang@daocloud.io> 2019-09-23 21:40:14 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-09-23 14:40:14 +0100
commit081e45afa3c72dcde92c771b5adac2e1521d278e (patch)
treec57bc1ef40540445374b30283e13e3d1ec3f40b8 /plugin/kubernetes/ns_test.go
parent004c5fca9d7dfb8b58d608e4d50833b40953441f (diff)
downloadcoredns-081e45afa3c72dcde92c771b5adac2e1521d278e.tar.gz
coredns-081e45afa3c72dcde92c771b5adac2e1521d278e.tar.zst
coredns-081e45afa3c72dcde92c771b5adac2e1521d278e.zip
cleanup: remove redundant return statement (#3297)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
Diffstat (limited to 'plugin/kubernetes/ns_test.go')
-rw-r--r--plugin/kubernetes/ns_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/kubernetes/ns_test.go b/plugin/kubernetes/ns_test.go
index 5f9786a74..bafe53240 100644
--- a/plugin/kubernetes/ns_test.go
+++ b/plugin/kubernetes/ns_test.go
@@ -13,7 +13,7 @@ import (
type APIConnTest struct{}
func (APIConnTest) HasSynced() bool { return true }
-func (APIConnTest) Run() { return }
+func (APIConnTest) Run() {}
func (APIConnTest) Stop() error { return nil }
func (APIConnTest) PodIndex(string) []*object.Pod { return nil }
func (APIConnTest) SvcIndexReverse(string) []*object.Service { return nil }