Bläddra i källkod

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

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Gyu-Ho Lee 8 år sedan
förälder
incheckning
1f2197b1f8
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 {
 	CertFile           string
 	KeyFile            string
-	CAFile             string
+	CAFile             string // TODO: deprecate this in v4
 	TrustedCAFile      string
 	ClientCertAuth     bool
 	CRLFile            string