Collect chassis.serial (#1748)

This commit is contained in:
Zoltan Papp
2024-03-26 15:33:01 +01:00
committed by GitHub
parent af50eb350f
commit 68b377a28c

View File

@@ -120,5 +120,5 @@ func _getReleaseInfo() string {
func sysInfo() (serialNumber string, productName string, manufacturer string) {
var si sysinfo.SysInfo
si.GetSysInfo()
return si.Product.Version, si.Product.Name, si.Product.Vendor
return si.Chassis.Serial, si.Product.Name, si.Product.Vendor
}