Update grpc_proxy.go

Using the plog.Warningf instead of zap which was added from 3.4
This commit is contained in:
Sahdev Zala 2020-07-05 12:31:58 -04:00 committed by GitHub
parent 4ae0875b34
commit 1255e3f0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ func newClientCfg(eps []string) (*clientv3.Config, error) {
}
clientTLS.InsecureSkipVerify = grpcProxyInsecureSkipTLSVerify
if clientTLS.InsecureSkipVerify {
lg.Warn("--insecure-skip-tls-verify was given, this grpc proxy process skips authentication of etcd server TLS certificates. This option should be enabled only for testing purposes.")
plog.Warningf("--insecure-skip-tls-verify was given, this grpc proxy process skips authentication of etcd server TLS certificates. This option should be enabled only for testing purposes.")
}
cfg.TLS = clientTLS
plog.Infof("ClientTLS: %s", tls)