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