diff options
author | 2019-08-24 18:14:25 +0000 | |
---|---|---|
committer | 2019-08-24 18:14:25 +0000 | |
commit | 07748d0c34b4c8329dfce8d1fe976ba61152dfec (patch) | |
tree | a2b1a2eb5481f4ea769e7c34c937d44ecd62a8c7 /plugin/kubernetes/controller_test.go | |
parent | 62451fd3eb68cef5dcdafe6e4228f08cf52d84fc (diff) | |
download | coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.tar.gz coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.tar.zst coredns-07748d0c34b4c8329dfce8d1fe976ba61152dfec.zip |
go report card fixes (#3182)
Went over the list at https://goreportcard.com/report/github.com/coredns/coredns
and removed/fix some code to make it slightly happier.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/kubernetes/controller_test.go')
-rw-r--r-- | plugin/kubernetes/controller_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/kubernetes/controller_test.go b/plugin/kubernetes/controller_test.go index 37d4705e4..f945684cb 100644 --- a/plugin/kubernetes/controller_test.go +++ b/plugin/kubernetes/controller_test.go @@ -78,7 +78,7 @@ func generateEndpoints(cidr string, client kubernetes.Interface) { }, } ep.ObjectMeta.Name = "svc" + strconv.Itoa(count) - _, err = client.CoreV1().Endpoints("testns").Create(ep) + client.CoreV1().Endpoints("testns").Create(ep) count++ } } |