Merge pull request #9434 from johngmyers/staticcheck-nodeauthorizer

Fix staticcheck error with Go 1.14
This commit is contained in:
Kubernetes Prow Robot 2020-06-24 03:25:17 -07:00 committed by GitHub
commit f122ceba8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -59,7 +59,6 @@ func makeHTTPClient(config *Config) (*http.Client, error) {
} }
tlsConfig.Certificates = []tls.Certificate{certs} tlsConfig.Certificates = []tls.Certificate{certs}
} }
tlsConfig.BuildNameToCertificate()
return &http.Client{ return &http.Client{
Timeout: 10 * time.Second, Timeout: 10 * time.Second,