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 45dff6eab9
commit 84ab627110
1 changed files with 4 additions and 0 deletions

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