summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-02-08 22:48:49 -0800
committerDavid Anderson <[email protected]>2017-02-08 22:48:49 -0800
commitaa3f9c9ba10dc5b2d1b79d5de05ae6bf83483334 (patch)
tree89cce51ca38f5579c1617b209b1a7f5cbdeb2cfd
parent666464088dba67b6748beea064ae830f3e699d37 (diff)
Remove debug print in acme code.
-rw-r--r--acme.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/acme.go b/acme.go
index bbde2e9..5ec4ca8 100644
--- a/acme.go
+++ b/acme.go
@@ -17,7 +17,6 @@ package main
import (
"context"
"crypto/tls"
- "fmt"
"net"
"time"
)
@@ -65,11 +64,6 @@ func tryAcme(ctx context.Context, ch chan string, backend, hostname string) {
var res string
var err error
defer func() { ch <- res }()
- defer func() {
- if err != nil {
- fmt.Println(err)
- }
- }()
dialer := net.Dialer{Timeout: 10 * time.Second}
conn, err := dialer.DialContext(ctx, "tcp", backend)