Skip to content

Commit 47e0610

Browse files
Sammy-Twillnorris
authored andcommitted
Replace deprecated local client
Signed-off-by: Sammy-T <[email protected]>
1 parent 2a02db0 commit 47e0610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

golink.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"github.com/prometheus/client_golang/prometheus"
3434
"github.com/prometheus/client_golang/prometheus/promhttp"
3535
"golang.org/x/net/xsrftoken"
36-
"tailscale.com/client/tailscale"
36+
"tailscale.com/client/local"
3737
"tailscale.com/hostinfo"
3838
"tailscale.com/ipn"
3939
"tailscale.com/tailcfg"
@@ -111,7 +111,7 @@ var embeddedFS embed.FS
111111
// db stores short links.
112112
var db *SQLiteDB
113113

114-
var localClient *tailscale.LocalClient
114+
var localClient *local.Client
115115

116116
func Run() error {
117117
flag.Parse()

0 commit comments

Comments
 (0)