ipn: remove Options.HTTPTestClient, move to LocalBackend

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2021-04-07 08:39:08 -07:00
parent 50b309c1eb
commit d581ee2536
2 changed files with 13 additions and 5 deletions

View File

@ -5,7 +5,6 @@
package ipn
import (
"net/http"
"time"
"tailscale.com/ipn/ipnstate"
@ -122,9 +121,6 @@ type Options struct {
// TODO(danderson): remove some time after the transition to
// tailscaled is done.
LegacyConfigPath string
// HTTPTestClient is an optional HTTP client to pass to controlclient
// (for tests only).
HTTPTestClient *http.Client
}
// Backend is the interface between Tailscale frontends