tlsutil: remove unused UseTLS field

This commit is contained in:
Daniel Nephin 2020-10-14 16:12:47 -04:00
parent 8a785a351c
commit e9479175a4
1 changed files with 2 additions and 4 deletions

View File

@ -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