golint cleanup (#828)
Clean up some golint related issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
c08497adee
commit
7ca018374f
8 changed files with 23 additions and 18 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue