aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/etcd/etcd.go2
-rw-r--r--plugin/forward/forward.go2
-rw-r--r--plugin/forward/setup.go2
-rw-r--r--plugin/ready/ready.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugin/etcd/etcd.go b/plugin/etcd/etcd.go
index d8e9e054e..5a497d57b 100644
--- a/plugin/etcd/etcd.go
+++ b/plugin/etcd/etcd.go
@@ -178,7 +178,7 @@ func (e *Etcd) TTL(kv *mvccpb.KeyValue, serv *msg.Service) uint32 {
// shouldInclude returns true if the service should be included in a list of records, given the qType. For all the
// currently supported lookup types, the only one to allow for an empty Host field in the service are TXT records
-// which resolve directly. If a TXT record is being resolved by CNAME, then we expect the Host field to have a
+// which resolve directly. If a TXT record is being resolved by CNAME, then we expect the Host field to have a
// value while the TXT field will be empty.
func shouldInclude(serv *msg.Service, qType uint16) bool {
return (qType == dns.TypeTXT && serv.Text != "") || serv.Host != ""
diff --git a/plugin/forward/forward.go b/plugin/forward/forward.go
index 897d9e7eb..6631b7bab 100644
--- a/plugin/forward/forward.go
+++ b/plugin/forward/forward.go
@@ -12,8 +12,8 @@ import (
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/debug"
- "github.com/coredns/coredns/plugin/pkg/policy"
clog "github.com/coredns/coredns/plugin/pkg/log"
+ "github.com/coredns/coredns/plugin/pkg/policy"
"github.com/coredns/coredns/request"
"github.com/miekg/dns"
diff --git a/plugin/forward/setup.go b/plugin/forward/setup.go
index 73c9cf943..fa35639f2 100644
--- a/plugin/forward/setup.go
+++ b/plugin/forward/setup.go
@@ -8,8 +8,8 @@ import (
"github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/metrics"
- "github.com/coredns/coredns/plugin/pkg/policy"
"github.com/coredns/coredns/plugin/pkg/parse"
+ "github.com/coredns/coredns/plugin/pkg/policy"
pkgtls "github.com/coredns/coredns/plugin/pkg/tls"
"github.com/coredns/coredns/plugin/pkg/transport"
diff --git a/plugin/ready/ready.go b/plugin/ready/ready.go
index 326d39955..a76a20084 100644
--- a/plugin/ready/ready.go
+++ b/plugin/ready/ready.go
@@ -11,8 +11,8 @@ import (
"sync"
clog "github.com/coredns/coredns/plugin/pkg/log"
- "github.com/coredns/coredns/plugin/pkg/uniq"
"github.com/coredns/coredns/plugin/pkg/reuseport"
+ "github.com/coredns/coredns/plugin/pkg/uniq"
)
var (