diff options
author | David Anderson <[email protected]> | 2017-02-08 22:48:49 -0800 |
---|---|---|
committer | David Anderson <[email protected]> | 2017-02-08 22:48:49 -0800 |
commit | aa3f9c9ba10dc5b2d1b79d5de05ae6bf83483334 (patch) | |
tree | 89cce51ca38f5579c1617b209b1a7f5cbdeb2cfd | |
parent | 666464088dba67b6748beea064ae830f3e699d37 (diff) |
Remove debug print in acme code.
-rw-r--r-- | acme.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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) |