consul fixes
This commit is contained in:
parent
c64bc3fe6b
commit
71b3f13284
@ -98,7 +98,7 @@ func (s *Service) Unregister() error {
|
|||||||
return s.agent.ServiceDeregister(s.GetID())
|
return s.agent.ServiceDeregister(s.GetID())
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Service) InitCheclChecks() {
|
func (s *Service) InitHealthChecks() {
|
||||||
go func() { // startup register
|
go func() { // startup register
|
||||||
ticker := time.NewTicker(time.Second * 1)
|
ticker := time.NewTicker(time.Second * 1)
|
||||||
for range ticker.C {
|
for range ticker.C {
|
||||||
|
Loading…
Reference in New Issue
Block a user