diff --git a/consul/discovery.go b/consul/discovery.go index 39fc8ed..8130dde 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -115,7 +115,7 @@ func (s *Service) healthCheck() (bool, error) { alive := func() bool { client := &http.Client{} healthUrl := s.GetFullAddr() + "health" - fmt.Printf("Sending request to the %s", healthUrl) + fmt.Printf("Sending request to the %s\n", healthUrl) req, err := http.NewRequest(http.MethodGet, healthUrl, nil) if err != nil { fmt.Printf("Failed to create new Consul request: %v\n", err)