From 86d10c6ad806a37cdd1ecc9d69256367aad99520 Mon Sep 17 00:00:00 2001 From: Connor1996 Date: Sun, 26 Nov 2017 18:17:45 +0800 Subject: [PATCH] fix ci --- pdctl/command/global.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdctl/command/global.go b/pdctl/command/global.go index 3a719fcd2b34..9ae770588799 100644 --- a/pdctl/command/global.go +++ b/pdctl/command/global.go @@ -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