mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-22 08:03:30 +01:00
Collect chassis.serial (#1748)
This commit is contained in:
parent
af50eb350f
commit
68b377a28c
@ -120,5 +120,5 @@ func _getReleaseInfo() string {
|
|||||||
func sysInfo() (serialNumber string, productName string, manufacturer string) {
|
func sysInfo() (serialNumber string, productName string, manufacturer string) {
|
||||||
var si sysinfo.SysInfo
|
var si sysinfo.SysInfo
|
||||||
si.GetSysInfo()
|
si.GetSysInfo()
|
||||||
return si.Product.Version, si.Product.Name, si.Product.Vendor
|
return si.Chassis.Serial, si.Product.Name, si.Product.Vendor
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user