Selaa lähdekoodia

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

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
Gyu-Ho Lee 8 vuotta sitten
vanhempi
commit
1f2197b1f8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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