Skip to content

Commit

Permalink
fix(kuma-cp) remove deprecated functin call
Browse files Browse the repository at this point in the history
Go 1.14 deprecates BuildNameToCertificate as described here
golang/go#37626

Fixing the linter exposes this issue and it's fixed here.

Signed-off-by: Nikolay Nikolaev <nikolay.nikolaev@konghq.com>
  • Loading branch information
Nikolay Nikolaev committed May 11, 2020
1 parent e77c6a4 commit 0d01369
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/admin-server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ func requireClientCerts(certsDir string) (*tls.Config, error) {
ClientCAs: clientCertPool,
ClientAuth: tls.RequireAndVerifyClientCert,
}
tlsConfig.BuildNameToCertificate()
return tlsConfig, nil
}

Expand Down

0 comments on commit 0d01369

Please sign in to comment.