1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
shirou
62a52f910b
Merge pull request #1745 from wangyu-geek/add_anolis_family_in_host_linux
add anolis family with anolis platform in host/host_linux.go
2024-11-16 22:29:20 +09:00
wangyu
8e62971eb0 add anolis family with anolis platform 2024-11-15 19:28:24 +08:00

View File

@ -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