Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang, Zhenjiang committed May 28, 2024
1 parent 7492baa commit 4159c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions active_tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func newActiveTCPConn(ctx context.Context, proxyDialer proxy.Dialer, localAddres
atomic.StoreInt32(&a.closed, 1)
}()

var conn net.Conn = nil
var err error = nil
var conn net.Conn
var err error
raddr, err := net.ResolveTCPAddr("tcp", remoteAddress.String())
if err != nil {
log.Infof("Failed to dial TCP address %s: %v", remoteAddress, err)
Expand Down

0 comments on commit 4159c54

Please sign in to comment.