1
0
Fork 0
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:
Henrik Hautakoski 2020-02-03 14:04:10 +01:00
parent 614f4a7c74
commit 09a23ca8e2

View file

@ -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))