nmdc-log-service: add warning message if on TLS verification disabled
This commit is contained in:
parent
3b71ea3ce3
commit
2f0ab758b8
@ -119,6 +119,10 @@ func main() {
|
|||||||
fmt.Fprintf(os.Stderr, "FATAL: Path '%s' is not a directory\n", BaseDir)
|
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
|
// Launch loggers
|
||||||
all_hubs := strings.Split(*hubs, ",")
|
all_hubs := strings.Split(*hubs, ",")
|
||||||
launch_ct := 0
|
launch_ct := 0
|
||||||
|
Loading…
Reference in New Issue
Block a user