From 09a23ca8e266f82fc08abcf159799469a6941ee3 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 3 Feb 2020 14:04:10 +0100 Subject: [PATCH] server.go: Show ip/port in the status message. --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index c54e023..36e1a6b 100644 --- a/server.go +++ b/server.go @@ -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))