From b81694fa48d7b891d9ac40615dc51d05b340794b Mon Sep 17 00:00:00 2001 From: Kevin Kamps Date: Wed, 29 May 2019 10:55:12 +0200 Subject: [PATCH] Added scheme to consul config --- registry/consul/ConsulRegistry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/consul/ConsulRegistry.go b/registry/consul/ConsulRegistry.go index c009c70..4f4da80 100644 --- a/registry/consul/ConsulRegistry.go +++ b/registry/consul/ConsulRegistry.go @@ -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)