mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-12 09:50:47 +01:00
0c8f8a62c7
In some operation systems, the sys info contains invalid characters. In this patch try to keep the original fallback logic but filter out the cases when the character is invalid.
13 lines
219 B
Go
13 lines
219 B
Go
package system
|
|
|
|
// SysInfo used to moc out the sysinfo getter
|
|
type SysInfo struct {
|
|
ChassisSerial string
|
|
ProductSerial string
|
|
BoardSerial string
|
|
|
|
ProductName string
|
|
BoardName string
|
|
ProductVendor string
|
|
}
|