Skip to content

Commit

Permalink
Fix registering hostname with ip in dailerHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanaReddy0M committed Jul 10, 2024
1 parent 53e2ac0 commit b03f0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastdialer/dialer_private.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (d *Dialer) dial(ctx context.Context, opts *dialOptions) (conn net.Conn, er
opts.ips = []string{ip}
opts.port = port
// also set hostname by parsing it from address
hostname, _, _ := net.SplitHostPort(opts.address)
hostname, _, _ = net.SplitHostPort(opts.address)
opts.hostname = hostname
}

Expand Down

0 comments on commit b03f0ba

Please sign in to comment.