mirror of
https://github.com/wahyd4/golink.git
synced 2026-08-09 05:05:56 +10:00
golink: set hostinfo.Package to "golink" (#64)
Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
@@ -30,6 +30,7 @@ import (
|
||||
"time"
|
||||
|
||||
"tailscale.com/client/tailscale"
|
||||
"tailscale.com/hostinfo"
|
||||
"tailscale.com/ipn"
|
||||
"tailscale.com/tsnet"
|
||||
)
|
||||
@@ -69,6 +70,8 @@ var localClient *tailscale.LocalClient
|
||||
func Run() error {
|
||||
flag.Parse()
|
||||
|
||||
hostinfo.SetApp("golink")
|
||||
|
||||
// if resolving from backup, set sqlitefile and snapshot flags to
|
||||
// restore links into an in-memory sqlite database.
|
||||
if *resolveFromBackup != "" {
|
||||
|
||||
Reference in New Issue
Block a user