Skip to content

Commit a60b1c6

Browse files
Matt1360rikatz
authored andcommitted
ingress/tcp: add additional error logging on failed (kubernetes#7208)
1 parent 358e497 commit a60b1c6

File tree

1 file changed

+1
-0
lines changed
  • internal/ingress/controller

1 file changed

+1
-0
lines changed

internal/ingress/controller/tcp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ func (p *TCPProxy) Handle(conn net.Conn) {
8282
hostPort := net.JoinHostPort(proxy.IP, fmt.Sprintf("%v", proxy.Port))
8383
clientConn, err := net.Dial("tcp", hostPort)
8484
if err != nil {
85+
klog.V(4).ErrorS(err, "error dialing proxy", "ip", proxy.IP, "port", proxy.Port, "hostname", proxy.Hostname)
8586
return
8687
}
8788
defer clientConn.Close()

0 commit comments

Comments
 (0)