Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor1996 committed Nov 26, 2017
1 parent 35a5326 commit 86d10c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdctl/command/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var (
errInvalidAddr = errors.New("Invalid pd address, Cannot get connect to it")
)

// InitHttpsClient creates https client with ca file
func InitHttpsClient(tlsCAPath, tlsCertPath, tlsKeyPath string) error {
// InitHTTPSClient creates https client with ca file
func InitHTTPSClient(tlsCAPath, tlsCertPath, tlsKeyPath string) error {
certificates := []tls.Certificate{}
if len(tlsCertPath) != 0 && len(tlsKeyPath) != 0 {
// Load the client certificates from disk
Expand Down

0 comments on commit 86d10c6

Please sign in to comment.