Fix golint for pkg/probe

This change adds comments to exported things and renames the tcp,
http, and exec probe interfaces to just be Prober within their
namespace.

Issue #68026
This commit is contained in:
Jon Friesen
2018-09-12 14:13:19 -07:00
parent 426ef9d349
commit b971c3e200
7 changed files with 31 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ type Server struct {
EnableHTTPS bool
TLSConfig *tls.Config
Validate ValidatorFn
Prober httpprober.HTTPProber
Prober httpprober.Prober
Once sync.Once
}