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

@@ -106,7 +106,7 @@ func loadRoots(caPath string) (*x509.CertPool, error) {
return roots, nil
}
// NetHTTPSTransport returns an HTTP transport configured using tls.Config
// NewHTTPSTransport returns an HTTP transport configured using tls.Config
func NewHTTPSTransport(cc *tls.Config) *http.Transport {
// this seems like a bad idea but was here in the previous version
if cc != nil {