moby--moby/pkg/parsers/kernel/uname_unsupported.go

16 lines
213 B
Go

// +build !linux
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")
}