aboutsummaryrefslogtreecommitdiff
path: root/plugin/backend.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-01-06 15:56:54 +0000
committerGravatar GitHub <noreply@github.com> 2018-01-06 15:56:54 +0000
commit75a8a17da4fc95c086dfb447d29c02e7dbd05561 (patch)
treeb6277f3344a0bbbd00f1a4b33c3aa2480b0c75dc /plugin/backend.go
parenta8e268e33b35d1ebea57a2bf825e16b0a717925b (diff)
downloadcoredns-75a8a17da4fc95c086dfb447d29c02e7dbd05561.tar.gz
coredns-75a8a17da4fc95c086dfb447d29c02e7dbd05561.tar.zst
coredns-75a8a17da4fc95c086dfb447d29c02e7dbd05561.zip
plugin/kubernetes: fix pod insecure mode (#1354)
Fixes #1331
Diffstat (limited to 'plugin/backend.go')
-rw-r--r--plugin/backend.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/backend.go b/plugin/backend.go
index 7b5b2f467..fad61d418 100644
--- a/plugin/backend.go
+++ b/plugin/backend.go
@@ -9,8 +9,8 @@ import (
// ServiceBackend defines a (dynamic) backend that returns a slice of service definitions.
type ServiceBackend interface {
- // Services communicates with the backend to retrieve the service definition. Exact indicates
- // on exact much are that we are allowed to recurs.
+ // Services communicates with the backend to retrieve the service definitions. Exact indicates
+ // on exact match should be returned.
Services(state request.Request, exact bool, opt Options) ([]msg.Service, error)
// Reverse communicates with the backend to retrieve service definition based on a IP address