pkg/parsers/kernel/uname_unsupported.go

16 lines
220 B
Go
Raw Normal View History

// +build !linux !amd64
package kernel
import (
"errors"
)
type Utsname struct {
Release [65]byte
}
func uname() (*Utsname, error) {
return nil, errors.New("Kernel version detection is available only on linux")
}