nmdc-log-service: add warning message if on TLS verification disabled

This commit is contained in:
mappu 2016-04-03 13:32:19 +12:00
parent 3b71ea3ce3
commit 2f0ab758b8

View File

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