Compare commits

...

3 Commits

Author SHA1 Message Date
54e4006d0d consul connect fixing 2023-07-04 00:02:23 +02:00
9cb590bf7a consul register as sidecar_service fix 2023-07-03 00:36:07 +02:00
70c41dab96 consul register as sidecar_service fix 2023-07-02 23:04:26 +02:00

View File

@@ -72,9 +72,9 @@ func (s *Service) Register() error {
Port: s.port,
Tags: s.getTags(),
Connect: &consul.AgentServiceConnect{
SidecarService: &consul.AgentServiceRegistration{
Port: s.port,
}
// SidecarService: &consul.AgentServiceRegistration{
// Port: s.port,
// },
},
Check: &consul.AgentServiceCheck{
TTL: s.ttl.String(),