diff options
author | 2022-07-10 20:06:33 +0200 | |
---|---|---|
committer | 2022-07-10 11:06:33 -0700 | |
commit | c2dbb7141a7c95aa521a41b27bed3af25de8f546 (patch) | |
tree | 3af5d63a0dccaa769507e34a32b6378ccef880c4 /plugin/kubernetes/parse.go | |
parent | abc5ac8017b0f434b5845321fb1f405ded7774d4 (diff) | |
download | coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.gz coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.tar.zst coredns-c2dbb7141a7c95aa521a41b27bed3af25de8f546.zip |
add golangci-lint linter (#5499)
Diffstat (limited to 'plugin/kubernetes/parse.go')
-rw-r--r-- | plugin/kubernetes/parse.go | 1 |
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 |