mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-24 13:48:56 +08:00
Merge pull request #1745 from wangyu-geek/add_anolis_family_in_host_linux
add anolis family with anolis platform in host/host_linux.go
This commit is contained in:
commit
62a52f910b
@ -315,6 +315,8 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
||||
family = "solus"
|
||||
case "neokylin":
|
||||
family = "neokylin"
|
||||
case "anolis":
|
||||
family = "anolis"
|
||||
}
|
||||
|
||||
return platform, family, version, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user