瀏覽代碼

pkg/transport: add TODO to deprecate 'CAFile' field in v4

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Gyu-Ho Lee 8 年之前
父節點
當前提交
1f2197b1f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pkg/transport/listener.go

+ 1 - 1
pkg/transport/listener.go

@@ -59,7 +59,7 @@ func wrapTLS(addr, scheme string, tlsinfo *TLSInfo, l net.Listener) (net.Listene
 type TLSInfo struct {
 type TLSInfo struct {
 	CertFile           string
 	CertFile           string
 	KeyFile            string
 	KeyFile            string
-	CAFile             string
+	CAFile             string // TODO: deprecate this in v4
 	TrustedCAFile      string
 	TrustedCAFile      string
 	ClientCertAuth     bool
 	ClientCertAuth     bool
 	CRLFile            string
 	CRLFile            string