Compare commits

...

3 Commits

Author SHA1 Message Date
ebef6e138d Consul update 2024-12-24 18:15:48 +01:00
7bd8f754d8 Consul update 2024-12-24 18:10:41 +01:00
43574a1d1c Consul update 2024-12-24 18:04:55 +01:00

View File

@@ -2,12 +2,11 @@ package consul
import (
"fmt"
"log"
"net/http"
"strconv"
"time"
"git.pbiernat.io/egommerce/go-api-pkg/config"
"git.ego.cloudns.be/egommerce/go-api-pkg/config"
consul "github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/connect"
)
@@ -61,7 +60,6 @@ func NewService(servAddr, id, name, useDomainOverIp, addr, domain, pathPrefix st
func newClientConfig(serverAddr string) *consul.Config {
conf := consul.DefaultConfig()
log.Printf("Setting consul server addr: %s", serverAddr)
conf.Address = serverAddr
return conf