mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
cmd/derper: remove unused parameter in runMeshClient
This commit is contained in:
parent
5d4415399b
commit
7cbf6ab771
@ -40,11 +40,11 @@ func startMeshWithHost(s *derp.Server, host string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
c.MeshKey = s.MeshKey()
|
c.MeshKey = s.MeshKey()
|
||||||
go runMeshClient(s, host, c, logf)
|
go runMeshClient(s, c, logf)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func runMeshClient(s *derp.Server, host string, c *derphttp.Client, logf logger.Logf) {
|
func runMeshClient(s *derp.Server, c *derphttp.Client, logf logger.Logf) {
|
||||||
const retryInterval = 5 * time.Second
|
const retryInterval = 5 * time.Second
|
||||||
const statusInterval = 10 * time.Second
|
const statusInterval = 10 * time.Second
|
||||||
var (
|
var (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user