Skip to content

Commit

Permalink
Remove line
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jan 12, 2024
1 parent fd20e69 commit b05844a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,14 @@ 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())
return acceptErr
}

upstream, err := net.Dial("tcp", upstreamAddr)

if err != nil {
log.Printf("unable to dial to %s, error: %s", upstreamAddr, err.Error())
return err
Expand Down

0 comments on commit b05844a

Please sign in to comment.