aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/xfr.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/xfr.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/xfr.go')
-rw-r--r--plugin/kubernetes/xfr.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/kubernetes/xfr.go b/plugin/kubernetes/xfr.go
index 9ad6c9aca..7759c5a47 100644
--- a/plugin/kubernetes/xfr.go
+++ b/plugin/kubernetes/xfr.go
@@ -184,7 +184,6 @@ func (k *Kubernetes) transfer(c chan dns.RR, zone string) {
}
}
}
- return
}
// emitAddressRecord generates a new A or AAAA record based on the msg.Service and writes it to