From 4f1cf30c7daa60a4a1459e4d60da5ac84753da01 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 20 Mar 2018 15:30:18 -0700 Subject: [PATCH] etcdmain: use "TrustedCAFile" in grpc_proxy Signed-off-by: Gyuho Lee --- etcdmain/grpc_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdmain/grpc_proxy.go b/etcdmain/grpc_proxy.go index 6a8e39febd0..81fbbca8e65 100644 --- a/etcdmain/grpc_proxy.go +++ b/etcdmain/grpc_proxy.go @@ -275,7 +275,7 @@ func newTLS(ca, cert, key string) *transport.TLSInfo { if ca == "" && cert == "" && key == "" { return nil } - return &transport.TLSInfo{CAFile: ca, CertFile: cert, KeyFile: key} + return &transport.TLSInfo{TrustedCAFile: ca, CertFile: cert, KeyFile: key} } func mustListenCMux(tlsinfo *transport.TLSInfo) cmux.CMux {