consul fixes
This commit is contained in:
parent
4d1f3644b0
commit
1de38fdfdf
@ -120,7 +120,7 @@ func (s *Service) InitHealthChecks() {
|
|||||||
func (s *Service) Connect() (*connect.Service, error) {
|
func (s *Service) Connect() (*connect.Service, error) {
|
||||||
l := hclog.New(&hclog.LoggerOptions{
|
l := hclog.New(&hclog.LoggerOptions{
|
||||||
Name: "consul-registry",
|
Name: "consul-registry",
|
||||||
Level: hclog.Debug,
|
Level: hclog.Trace,
|
||||||
})
|
})
|
||||||
svc, err := connect.NewServiceWithLogger(s.Name, s.client, l)
|
svc, err := connect.NewServiceWithLogger(s.Name, s.client, l)
|
||||||
s.connect = svc
|
s.connect = svc
|
||||||
|
Loading…
Reference in New Issue
Block a user