Fix typo while logging tls config error
This commit is contained in:
parent
a3e037c8ce
commit
3760b07ff6
2
main.go
2
main.go
|
@ -110,7 +110,7 @@ func run() int {
|
||||||
if args.cert != "" {
|
if args.cert != "" {
|
||||||
cfg, err1 := makeServerTLSConfig(args.cert, args.key, args.cafile)
|
cfg, err1 := makeServerTLSConfig(args.cert, args.key, args.cafile)
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
mainLogger.Critical("TLS config construction failed: %v", err)
|
mainLogger.Critical("TLS config construction failed: %v", err1)
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
cfg.CipherSuites = makeCipherList(args.ciphers)
|
cfg.CipherSuites = makeCipherList(args.ciphers)
|
||||||
|
|
Loading…
Reference in New Issue