From e9479175a463acc57d2b3e4a83a6db67288c6c61 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Wed, 14 Oct 2020 16:12:47 -0400 Subject: [PATCH] tlsutil: remove unused UseTLS field --- tlsutil/config.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tlsutil/config.go b/tlsutil/config.go index c966ec724e..b40a11b424 100644 --- a/tlsutil/config.go +++ b/tlsutil/config.go @@ -13,8 +13,9 @@ import ( "sync" "time" - "github.com/hashicorp/consul/logging" "github.com/hashicorp/go-hclog" + + "github.com/hashicorp/consul/logging" ) // ALPNWrapper is a function that is used to wrap a non-TLS connection and @@ -80,9 +81,6 @@ type Config struct { // cannot break existing clients. VerifyServerHostname bool - // UseTLS is used to enable outgoing TLS connections to Consul servers. - UseTLS bool - // CAFile is a path to a certificate authority file. This is used with // VerifyIncoming or VerifyOutgoing to verify the TLS connection. CAFile string