From 2f0ab758b89503ef7d96a8a8fdfa41fba1c3e680 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 3 Apr 2016 13:32:19 +1200 Subject: [PATCH] nmdc-log-service: add warning message if on TLS verification disabled --- src/nmdc-log-service/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nmdc-log-service/main.go b/src/nmdc-log-service/main.go index f44e1d7..93ffa6f 100644 --- a/src/nmdc-log-service/main.go +++ b/src/nmdc-log-service/main.go @@ -119,6 +119,10 @@ func main() { fmt.Fprintf(os.Stderr, "FATAL: Path '%s' is not a directory\n", BaseDir) } + if !VerifyTLS { + fmt.Fprintf(os.Stderr, "WARNING: TLS certificates will not be verified!\n") + } + // Launch loggers all_hubs := strings.Split(*hubs, ",") launch_ct := 0