golint cleanup (#828)

Clean up some golint related issues.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2017-08-04 09:46:40 -07:00 committed by Miek Gieben
parent c08497adee
commit 7ca018374f
8 changed files with 23 additions and 18 deletions

View file

@ -49,6 +49,7 @@ type Kubernetes struct {
interfaceAddrsFunc func() net.IP
}
// AutoPath enables server side search path lookups for pods
type AutoPath struct {
Enabled bool
NDots int
@ -683,6 +684,8 @@ func splitSearch(zone, question, namespace string) (name, search string, ok bool
}
const (
// Svc is the DNS schema for kubernetes services
Svc = "svc"
// Pod is the DNS schema for kubernetes pods
Pod = "pod"
)