Remove redundant printf

This commit is contained in:
Eugene Bujak 2019-02-13 11:07:24 +03:00 committed by Eugene Bujak
parent e2956cae82
commit f0569af367
1 changed files with 0 additions and 1 deletions

1
app.go
View File

@ -176,7 +176,6 @@ func run(args options) {
for config.TLS.PortHTTPS == 0 || config.TLS.PrivateKey == "" || config.TLS.CertificateChain == "" { // sleep until neccessary data is supplied for config.TLS.PortHTTPS == 0 || config.TLS.PrivateKey == "" || config.TLS.CertificateChain == "" { // sleep until neccessary data is supplied
httpsServer.cond.Wait() httpsServer.cond.Wait()
} }
log.Printf("%+v", config.TLS)
address := net.JoinHostPort(config.BindHost, strconv.Itoa(config.TLS.PortHTTPS)) address := net.JoinHostPort(config.BindHost, strconv.Itoa(config.TLS.PortHTTPS))
cert, err := tls.X509KeyPair([]byte(config.TLS.CertificateChain), []byte(config.TLS.PrivateKey)) cert, err := tls.X509KeyPair([]byte(config.TLS.CertificateChain), []byte(config.TLS.PrivateKey))
if err != nil { if err != nil {