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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}