tailcfg: add Hostinfo.GoVersion

So next time something like #5340 happens we can identify all affected
nodes and have the control plane send them health warnings.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-08-26 17:57:23 -07:00
committed by Brad Fitzpatrick
parent 214242ff62
commit f1c9812188
5 changed files with 6 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ func New() *tailcfg.Hostinfo {
Desktop: desktop(),
Package: packageTypeCached(),
GoArch: runtime.GOARCH,
GoVersion: runtime.Version(),
DeviceModel: deviceModel(),
Cloud: string(cloudenv.Get()),
}