mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
derp/derphttp: appease staticcheck
This commit is contained in:
parent
2cff9016e4
commit
cf4aacde57
@ -155,7 +155,7 @@ func (c *Client) connect(ctx context.Context, caller string) (client *derp.Clien
|
|||||||
|
|
||||||
tcpConn, err = d.DialContext(ctx, "tcp", net.JoinHostPort(hostOrIP, urlPort(c.url)))
|
tcpConn, err = d.DialContext(ctx, "tcp", net.JoinHostPort(hostOrIP, urlPort(c.url)))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Dial of %q: %v", host, err)
|
return nil, fmt.Errorf("dial of %q: %v", host, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now that we have a TCP connection, force close it.
|
// Now that we have a TCP connection, force close it.
|
||||||
|
Loading…
Reference in New Issue
Block a user