cmd/derper: remove unused parameter in runMeshClient

This commit is contained in:
Brad Fitzpatrick 2020-06-15 11:35:24 -07:00
parent 5d4415399b
commit 7cbf6ab771
1 changed files with 2 additions and 2 deletions

View File

@ -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 (