瀏覽代碼

functional/rpcpb: remove "InsecureSkipVerify"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 8 年之前
父節點
當前提交
7b1d09023b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functional/rpcpb/member.go

+ 1 - 1
functional/rpcpb/member.go

@@ -108,7 +108,7 @@ func (m *Member) CreateEtcdClientConfig(opts ...grpc.DialOption) (cfg *clientv3.
 
 
 			// TODO: remove this with generated certs
 			// TODO: remove this with generated certs
 			// only need it for auto TLS
 			// only need it for auto TLS
-			InsecureSkipVerify: true,
+			// InsecureSkipVerify: true,
 		}
 		}
 		var tlsConfig *tls.Config
 		var tlsConfig *tls.Config
 		tlsConfig, err = tlsInfo.ClientConfig()
 		tlsConfig, err = tlsInfo.ClientConfig()