ingress/tcp: add additional error logging on failed (#7208)
This commit is contained in:
parent
4bdb5538a4
commit
197a26a8f4
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ func (p *TCPProxy) Handle(conn net.Conn) {
|
|||
hostPort := net.JoinHostPort(proxy.IP, fmt.Sprintf("%v", proxy.Port))
|
||||
clientConn, err := net.Dial("tcp", hostPort)
|
||||
if err != nil {
|
||||
klog.V(4).ErrorS(err, "error dialing proxy", "ip", proxy.IP, "port", proxy.Port, "hostname", proxy.Hostname)
|
||||
return
|
||||
}
|
||||
defer clientConn.Close()
|
||||
|
|
Loading…
Reference in a new issue