storage/pkg/parsers/kernel/uname_unsupported.go

15 lines
245 B
Go

//go:build openbsd
// +build openbsd
package kernel
import (
"fmt"
"runtime"
)
// A stub called by kernel_unix.go .
func uname() (*Utsname, error) {
return nil, fmt.Errorf("Kernel version detection is not available on %s", runtime.GOOS)
}