Skip to content

Commit

Permalink
removed depricated tlsConfig.BuildNameToCertificate function
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidXArnold committed Feb 28, 2020
1 parent 61ab968 commit 89a5c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ func createKubeHTTPClient(config KubeAgentConfig) (KubeAgentConfig, error) {
Certificates: []tls.Certificate{cert},
RootCAs: caCertPool,
}
tlsConfig.BuildNameToCertificate()

transport = &http.Transport{TLSClientConfig: tlsConfig}

config.HTTPClient = http.Client{Transport: transport}
Expand Down

0 comments on commit 89a5c18

Please sign in to comment.