mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
server.go: Show ip/port in the status message.
This commit is contained in:
parent
614f4a7c74
commit
09a23ca8e2
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ func main() {
|
|||
// Check api.
|
||||
status, msg := check_api(host, port)
|
||||
|
||||
fmt.Printf("API HealthCheck: %s, %s\n", status, msg)
|
||||
fmt.Printf("- %s:%d: %s, %s\n", host, port, status, msg)
|
||||
|
||||
// Report status to HAproxy
|
||||
c.Send(fmt.Sprintln(status))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue