aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/kubernetes/parse.go')
-rw-r--r--plugin/kubernetes/parse.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/kubernetes/parse.go b/plugin/kubernetes/parse.go
index 1c072a649..4690c814b 100644
--- a/plugin/kubernetes/parse.go
+++ b/plugin/kubernetes/parse.go
@@ -66,7 +66,6 @@ func parseRequest(name, zone string) (r recordRequest, err error) {
// Because of ambiguity we check the labels left: 1: an endpoint. 2: port and protocol.
// Anything else is a query that is too long to answer and can safely be delegated to return an nxdomain.
switch last {
-
case 0: // endpoint only
r.endpoint = segs[last]
case 1: // service and port