Skip to content

Commit 0a59e0a

Browse files
committed
remove unnecessary logs
1 parent 046f9a1 commit 0a59e0a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pkg/portforward/roundrobin/roundrobin.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package roundrobin
22

33
import (
4-
"fmt"
54
"net"
65
"sync"
76
"time"
@@ -16,7 +15,6 @@ type RoundRobin struct {
1615
}
1716

1817
func New(connPool *[]string) forwarder.Forwarder {
19-
fmt.Println("NEW CALLED WITH ", &connPool)
2018
return &RoundRobin{
2119
connPool: connPool,
2220
}
@@ -26,7 +24,6 @@ func (rr *RoundRobin) NextPort() string {
2624
defer rr.mx.Unlock()
2725

2826
initial := rr.connNumber
29-
fmt.Println("CONN POOL in next port", &rr.connPool)
3027
if rr.connPool == nil {
3128
return ""
3229
}
@@ -41,7 +38,6 @@ func (rr *RoundRobin) NextPort() string {
4138
conn, err := net.DialTimeout("tcp", ":"+portNum, 50*time.Millisecond)
4239
if err == nil {
4340
conn.Close()
44-
fmt.Println("PORT RETURNED ", portNum)
4541
return portNum
4642
}
4743
}

0 commit comments

Comments
 (0)