Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
Added scheme to consul config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Kamps committed May 29, 2019
1 parent 2bfb76d commit b81694f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions registry/consul/ConsulRegistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func (this *ConsulRegistry) initConsulConnection() {
//TODO fix tsl connection

config.Address = this.Configuration.Url.Host
config.Scheme = this.Configuration.Url.Scheme
client, err := consulapi.NewClient(config)
if err != nil {
log.Fatal("Registry - Consul: ", this.Configuration.Url.Scheme)
Expand Down

0 comments on commit b81694f

Please sign in to comment.