mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 01:33:28 +01:00
Remove linux kernel version from OS name
This commit is contained in:
parent
b49c1aaa30
commit
f3f2dd13c5
@ -407,6 +407,9 @@ func normalizeHostnames(data string) string {
|
||||
}
|
||||
|
||||
func GetOsVersion(t *testing.T) string {
|
||||
if runtime.GOOS == "linux" {
|
||||
return "actions"
|
||||
}
|
||||
var uts unix.Utsname
|
||||
if err := unix.Uname(&uts); err != nil {
|
||||
panic(err)
|
||||
|
Loading…
Reference in New Issue
Block a user