mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 10:13:14 -05:00
golint cleanup (#828)
Clean up some golint related issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user