From aa3f9c9ba10dc5b2d1b79d5de05ae6bf83483334 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 8 Feb 2017 22:48:49 -0800 Subject: Remove debug print in acme code. --- acme.go | 6 ------ 1 file changed, 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) -- cgit v1.2.3