1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
This commit is contained in:
Asim Aslam 2019-04-23 07:13:21 +00:00
parent 96ed20de7b
commit df6561165a

View File

@ -111,7 +111,7 @@ func configure(c *consulRegistry, opts ...registry.Option) {
// requires secure connection?
if c.opts.Secure || c.opts.TLSConfig != nil {
config.Scheme = "https"
// We're going to support InsecureSkipVerify
config.HttpClient.Transport = newTransport(c.opts.TLSConfig)