From b05844aceacb57b7bdf6c4e4ecd258446165f2e8 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Fri, 12 Jan 2024 11:03:59 +0000 Subject: [PATCH] Remove line Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- pkg/proxy.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/proxy.go b/pkg/proxy.go index 622554a..6de8e00 100644 --- a/pkg/proxy.go +++ b/pkg/proxy.go @@ -75,7 +75,7 @@ func (p *Proxy) Start() error { // Wait for a connection. conn, err := l.Accept() if err != nil { - acceptErr := fmt.Errorf("Unable to accept on %d, error: %s", + acceptErr := fmt.Errorf("unable to accept on %d, error: %s", p.Port, err.Error()) log.Printf("%s", acceptErr.Error()) @@ -83,7 +83,6 @@ func (p *Proxy) Start() error { } upstream, err := net.Dial("tcp", upstreamAddr) - if err != nil { log.Printf("unable to dial to %s, error: %s", upstreamAddr, err.Error()) return err