Skip to content

Commit

Permalink
Add Windows version to correct system info field (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored Nov 24, 2023
1 parent cf9e447 commit 0ca06b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/system/info_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Win32_OperatingSystem struct {
func GetInfo(ctx context.Context) *Info {
osName, osVersion := getOSNameAndVersion()
buildVersion := getBuildVersion()
gio := &Info{Kernel: "windows", OSVersion: buildVersion, Core: osVersion, Platform: "unknown", OS: osName, GoOS: runtime.GOOS, CPUs: runtime.NumCPU()}
gio := &Info{Kernel: "windows", OSVersion: osVersion, Core: buildVersion, Platform: "unknown", OS: osName, GoOS: runtime.GOOS, CPUs: runtime.NumCPU()}
systemHostname, _ := os.Hostname()
gio.Hostname = extractDeviceName(ctx, systemHostname)
gio.WiretrusteeVersion = version.NetbirdVersion()
Expand Down

0 comments on commit 0ca06b5

Please sign in to comment.