fix
This commit is contained in:
parent
e76fe0fead
commit
5888636310
@ -78,7 +78,7 @@ func (s *Service) UpdateTTL(service *consul.AgentServiceRegistration) {
|
||||
log.Println(err)
|
||||
}
|
||||
} else {
|
||||
if err := s.ConsulAgent.PassTTL("service:"+s.AppID, "OK"); err != nil {
|
||||
if err := s.ConsulAgent.PassTTL("service:"+s.Name+"_"+s.AppID, "OK"); err != nil {
|
||||
log.Println(err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user