Skip to content

Commit

Permalink
Merge commit '097305157a6a2c0c236fa430c17498c895536782'
Browse files Browse the repository at this point in the history
  • Loading branch information
aya committed Jun 3, 2022
2 parents 378a4ea + 0973051 commit 9cfdfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consul/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (r *ConsulAdapter) buildCheck(service *bridge.Service) *consulapi.AgentServ
} else if cmd := service.Attrs["check_cmd"]; cmd != "" {
check.Args = []string{"check-cmd", service.Origin.ContainerID[:12], service.Origin.ExposedPort, cmd}
} else if script := service.Attrs["check_script"]; script != "" {
check.Args = []string{r.interpolateService(script, service)}
check.Args = strings.Split(r.interpolateService(script, service), " ")
} else if ttl := service.Attrs["check_ttl"]; ttl != "" {
check.TTL = ttl
} else if tcp := service.Attrs["check_tcp"]; tcp != "" {
Expand Down

0 comments on commit 9cfdfbe

Please sign in to comment.