Skip to content

Commit 7fa6e00

Browse files
authored
golink: set hostinfo.Package to "golink" (#64)
Signed-off-by: Maisem Ali <[email protected]>
1 parent acd5641 commit 7fa6e00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

golink.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
"time"
3131

3232
"tailscale.com/client/tailscale"
33+
"tailscale.com/hostinfo"
3334
"tailscale.com/ipn"
3435
"tailscale.com/tsnet"
3536
)
@@ -69,6 +70,8 @@ var localClient *tailscale.LocalClient
6970
func Run() error {
7071
flag.Parse()
7172

73+
hostinfo.SetApp("golink")
74+
7275
// if resolving from backup, set sqlitefile and snapshot flags to
7376
// restore links into an in-memory sqlite database.
7477
if *resolveFromBackup != "" {

0 commit comments

Comments
 (0)