nmdc-log-service: add warning message if on TLS verification disabled
This commit is contained in:
parent
45dff6eab9
commit
84ab627110
4
main.go
4
main.go
@ -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