cmd/derper: remove unused parameter in runMeshClient

pull/475/head
Brad Fitzpatrick 5 years ago
parent 5d4415399b
commit 7cbf6ab771

@ -40,11 +40,11 @@ func startMeshWithHost(s *derp.Server, host string) error {
return err
}
c.MeshKey = s.MeshKey()
go runMeshClient(s, host, c, logf)
go runMeshClient(s, c, logf)
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 statusInterval = 10 * time.Second
var (

Loading…
Cancel
Save