mirror of
https://github.com/shirou/gopsutil.git
synced 2025-05-08 19:29:25 +08:00
[host][linux] Fix #340 return Solus OS as from the "solus" PlatformFamily in Info()
This commit is contained in:
parent
6a8ab0308e
commit
9219f16f03
@ -356,6 +356,8 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
||||
family = "alpine"
|
||||
case "coreos":
|
||||
family = "coreos"
|
||||
case "solus":
|
||||
family = "solus"
|
||||
}
|
||||
|
||||
return platform, family, version, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user